Record Size:
struct studentinfo
{ struct studentinfo *previousgpa; 4 bytes
char ssn[11], name[28], address[30]; 11 + 28 + 30 = 69 Bytes
short age, IQ; 2
+ 2 = 4 Bytes
float gpa, balance;
4 + 4 = 8 Bytes
struct
studentinfo *nextbalance; }; 4 Bytes
---
89 Bytes
Given: printf (“%lu\n”, &student[2].name); yields the output: 8625
Then: &student[2] => 8625 - 11 – 4 = 8610
And: student
= 8610 – 2 * 89 = 8610 – 178 = 8432