Elearning , Interview Questions And Answers

Google

C QUESTIONS
1.struct x { int I; char s; } union { struct x,y; double j }z; main() { printf("%d",sizeof (union z)); 2.struct x { int I; short int j; char a; char b; } struct y } main() { printf("%d%d",sizeof(structx),sizeof(structy)); } ans 12 12 12 8 12 8 8 12 3.main() { int I=0; } declaration definition


Hosted by www.Geocities.ws

1