...

/

Exercise: Bitwise AND, OR, and XOR

Exercise: Bitwise AND, OR, and XOR

Practice the bitwise AND, OR, and XOR operations on your own.

Exercise

Perform bitwise AND, OR, and XOR for the following unsigned two-byte integers:

  • 1122 and 908
  • 49608 and 33036

Solution

...