← Quiz: Bitwise Operators in C: all 15 questions
Quiz: Bitwise Operators in C · Question 6 of 15
What is 5 << 3?
What is 5 << 3?
- A.8
- B.15
- C.53
- D.40
Answer & explanation
Correct answer: 40
Shifting left by 3 multiplies by 2³ = 8: 5 × 8 = 40.
Can you get the rest right without peeking?
Take the timed Quiz: Bitwise Operators in C quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →