What is the output of the following code ?
print(3 << 2)
"<<" is bitwise left shift operator. The value of 3 in binary is 0011. When we left shit 2 bits it becomes 1100 in binary which is nothing but 12
Comment here: