Question

What will be the output of the following C code snippet? int a = 10; int *p = &a; *p = 20; printf("%d",
a);

A 10
B 20
C Garbage value
D Compilation error
E Address of 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)