What is the output of the following C program? Assume size of integer as 4…
What is the output of the following C program? Assume size of integer as 4 bytes and size of character as 1 byte. union XYZ { int a; char b[8]; int c; }; int main() { printf("%d",sizeof(union XYZ)); return(0); }
- A.
16
- B.
12
- C.
8
- D.
32
Sign up free to check your answer
Sign up freeLoading lesson…

