First, the operator precedence
Logical NOT> arithmetic operators> relational operators> Logical Operators> Assignment operators> comma operator
Logical Operators> conditional operator> Assignment operators
For if the statement is executed, if it is a statement that braces can be omitted, if it is multiple statements braces must not be omitted.