5.0030. Given:
struct datatemplate
{ char group[3];
int groupclass;
struct datatemplate *next; };
char main()
{ struct datatemplate data[3] = {{“AB”,76,6741},{“X4”,322,6732},{“6T”,0,6750}};
If we issue the statement: printf(“%lu”, data)
And we receive the output: 6732
G. What would be printed by the statement: printf(“%d”, data[0].next->groupclass);
From the above declaration, we know that data[0].next is 6741. At that base address, we would
find the second (offset 1) record. The contents of field groupclass for
the second record is 322.