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.
bitwise left shift
par1 << par2
bitwise right shift
par1 >> par2
bitwise and
par1 & par2
bitwise or
par1 | par2
bitwise xor
par1 ^ par2

C++

Other pieces of example codes:
y = ~x
x = 1 | 2
x = 16 << 2
(i & j)
x = 8 >> 1
x = 123 ^ 25
Languages: en hu cz sk