The operators in Table 4.11 are listed according to precedence order.
The order of precedence starts from the top, operators on the same line with equal precedence are evaluated from left to right. When operators of equal precedence appear in the same expression, use parentheses to change to operator precedence and the expression to evaluated first.
Order |
Operator |
1 |
*,/,%,^ |
2 |
+,- |
3 |
>,<,>=,<= |
4 |
== ,!= |
5 |
&& |
6 |
||,^^ |