Logical Operators in C

&& operator:

If the left operand and the right operand are both different than 0 it evaluates to 1 otherwise it evaluates to 0.

If the left operand is 0, the right operand is not evaluated and the result is 0.

0x65 && 0x55 is evaluated to 1.

Leave a Comment