123
01010101 & 11001100 = 01000100 // if both of the bits is 1 put 1 in result
01010101 | 11001100 = 11011101 // if either of the bits is 1 put 1 in result
01010101 ^ 11001100 = //if one of the bits is 1 put 1 in result 10011001 // wont work if both have 1
12
~01010101 10101010 //just reverse the bits
01010101 << 4 01010000 // put 4 zeros in the start
01010101 >> 4 00000101 // put 4 zeros in the end