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:
0x01 | 0x02
z = (x >> 2) >> 2
(i & 4)
i << 4
i ^ j
x = ~(32 >>2)
Languages: en hu cz sk