← Quiz: Bitwise Operators in C: all 15 questions
Quiz: Bitwise Operators in C · Question 9 of 15
What is 2 ^ 3 in C?
What is 2 ^ 3 in C?
- A.1
- B.8
- C.6
- D.9
Answer & explanation
Correct answer: 1
^ is XOR, not power: 010 ^ 011 = 001.
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 →