Question

Given the C structure 'struct Node { int data; struct Node *next; };' on a 64-bit system where int is 4 bytes and a pointer is 8 bytes, and assuming no padding is added by the compiler for this structure, what is the value of sizeof(struct Node)?

A 20
B 4
C 12
D 16
E 8
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)