Bitwise Operators

Lesson overview

Topics covered: &, |, ^, ~, <<, >> for low-level control and optimization.

Bitwise Operators

& - bitwise AND
| - bitwise OR
^ - bitwise XOR
~ - bitwise NOT
<< - left shift, >> - right shift
Useful for low-level hardware control and optimization.

Article author: Arthur Isaev