+ 3
C++ Logical Operator precedence
Is there a logical operator precedence like there is an arithmetic operator precedence? Meaning, will x || y && z be evaluated the same way as y && z || x? I understand you wouldn't typically use logical operators to compare variables, but it still illustrates my question.
1 Odpowiedź
+ 4
Not there is not a logical operator precedence. The program will read from begging to the end.