Question

What is printed if we execute the following C code? int a=5;  int *p=&a;  (*p)++;  printf("%d",a); 

A 4
B 5
C 6
D Address of a
E Undefined because p points to a
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)