28.? int a- 4 Five array of pointer to char 20( each pointer of 4 bytes) struct node * 4 bytes.
On Tue, Jul 26, 2011 at 6:10 PM, Puneet Gautam <[email protected]>wrote: > #include<stdio.h> > #include<stddef.h> > struct node{ > int a; > char *b[5]; > struct node *link; > }; > main() > { > int a; > a=sizeof(struct node); > printf("%d",a); > getchar(); > return 0; > } > > Whats the output..? > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
