Bitwise
Bitwise refers to operations that directly manipulate data at the level of bits, the most basic units of information in digital systems. Bitwise operations are foundational for low‑level programming and digital logic, enabling precise control over individual bits within integers or binary data.
The core bitwise operators are AND, OR, XOR, and NOT, along with bit shifts such as left
Common uses include masking, setting, clearing, or toggling specific bits; testing whether particular bits are set;
Bitwise operations are efficient and widely supported across languages such as C, C++, Java, and Python. They