Question

What will the following C code print? int a[4] = {2,4,6,8}; int *p = a+1; printf("%d", *p + *(p+2));

A 16
B 14
C 18
D 12
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)