Question

On a typical 64-bit system (int = 4 bytes, double = 8 bytes), what is printed by the following C code? union u { int i; char c[6]; double d; }; printf("%zu", sizeof(union
u));

A 18
B 6
C 12
D 8
E 16
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)