Question

What is the output of the following C code? int x = 5, y = 2; printf("%d", x++ / y + x %
y);

A 2
B 3
C 2.5
D 1
E 4
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)