Visual C++ - Bitwise operatorsWe have more of the bitwise operators, using the bitwise operator we can set or determine the specific bit in whole numbers.
Visual C++ .NETOther pieces of example codes:
z = 0xf0 | (x | y)
y = 5 & 3
x = 123 ^ 25
z = (x << y) << 2
Bitwise operators in another programming language: