Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 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 ответ
+ 4
Not there is not a logical operator precedence. The program will read from begging to the end.