Question

Consider the C structure: struct A { char c; int i; }; On a typical system where int requires 4-byte alignment, what is the most likely total size of struct A due to compiler-inserted padding?

A 8 bytes
B 9 bytes
C 5 bytes
D 4 bytes
E 6 bytes
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)