Question

What will the following C code print? int a[5] = {10,20,30,40,50}; int *p = a; p += 2; printf("%d %d", *p, *(p-1)+*(p+1));

A 20 60
B 30 50
C 30 70
D 40 60
E 30 60
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)