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