In Other Spaces
The page you were looking for may have moved to another space:
-
EXP02-C. Be aware of the short-circuit behavior of the logical AND and OR operators
(SEI CERT C Coding Standard)
The logical AND and logical OR operators (&& and ||, respectively) exhibit "short-circuit" operation. That is, the second operand is not evaluated if the result can be deduced solely by evaluating the first operand....