Question

What is the output of the following C code? int a = 12, b = 10; printf("%d %d", a & b, a ^
b);

A 8 14
B 6 8
C 14 6
D 2 6
E 8 6
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)