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