I am lacking some basic understanding in bitwise \'&\' operator.
5 = 101 4 = 100
So why the output of the below if conditi
if
Because 0b100 & 0b101 equals 0b100 and the latter does not equal 0.
0b100 & 0b101
0b100
0