0
Assume a 4-byte int aligned on 4-byte boundaries. What is the output of the following C program?
#include <stdio.h>
struct A { char a; int b; char c; };
union U { int i; char c[5]; };
int main() {
printf("%zu %zu", sizeof(struct A), sizeof(union U));
return 0;
}- A6 5
- B12 8
- C12 5
- D8 8
Correct answer: B