Question

What is the output of the following C program? #include int main() {     int a=2, b=3, c=4;     printf("%d", a<<1 | b&c);     return 0; }

A 6
B 5
C 7
D 4
E 3
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)