Multiple choice technology programming languages

27 | 8 = ?

  1. 19

  2. 8

  3. 27

  4. 35

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

The bitwise OR operator (|) compares binary representations. The number 27 is 11011 in binary, and 8 is 01000. Performing 11011 | 01000 results in 11011, which is 27. Distractors represent incorrect mathematical additions or wrong bitwise logic.