Multiple choice technology programming languages

What is the result of evaluating the expression 14 ^ 23. Select the one correct answer.

  1. 25

  2. 37

  3. 6

  4. -9

  5. 23

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The ^ operator represents bitwise XOR. In binary, 14 is 01110 and 23 is 10111. Performing a bitwise XOR (01110 ^ 10111) yields 11001, which is 25 in decimal.