Write the output of the following and explain it.

b) Write the output of the following and explain it.
struct { int si;
long int li;
char *cp; } s, *ss;
void main() {
printf(“%d, %d, %d, %d”,sizeof(s.li), sizeof(s.cp), sizeof(s), sizeof(ss)); }


Leave a Reply