Question

Consider the following C structure on a typical 32-bit system, where int is 4 bytes, char is 1 byte, and the compiler applies default structure padding for member alignment: struct Example {     char a;     int b;     char c; }; printf("%d", sizeof(struct Example));

A 6
B 9
C 12
D 8
E 10
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)