Question: Consider the following structure definition. Assume the array starts at address 6000. Assume int is 4 bytes. typedef struct char szStudentId[16]; char szPwd[8]; int iGradePoints;

Consider the following structure definition. Assume the array starts at address 6000. Assume int is 4 bytes. typedef struct char szStudentId[16]; char szPwd[8]; int iGradePoints; int iCreditHours; } Student; Student studentM[10]; // 15 character student id // 7 character password // Total earned grade points // Total earned credit hours a. What is the size of one element of the student array? ?? b. What is the total size of the student array? ?? c. Fill in the following table Referenced Attribute Address of the referenced attribute studentM[0].szStudentId studentM[0].iCredithours studentM[2]. szPwd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
