🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.1
  2. B.8
  3. C.6
  4. 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 →