I am lacking some basic understanding in bitwise \'&\' operator.
5 = 101 4 = 100
So why the output of the below if conditi
if
It enters the if condition. Because after the & operation it returns non-zero value. In C, for all non-zero value it's like returning true.
&