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
Answers
Answered by
1
Answer:
4+8+4=16................
Similar questions
Biology,
1 month ago
Computer Science,
3 months ago
Social Sciences,
3 months ago
Math,
9 months ago
Computer Science,
9 months ago