Common Bitwise Operations and Operators

Get introduced to various bitwise operations and operators.

Bitwise operations

Common operations that are done on bits include either reading a value of a bit or writing a 1 or 0 to the bit.

Write an operation

  • Set bit 3 to 0
  • Set bit 5 to 1

Read an operation

  • Check whether bit 6 is 1 (on) or 0 (off)

Get hands-on with 1400+ tech skills courses.