All the operators in a given box have the same precedence. Operators in higher boxes have higher precedence than operators in lower boxes. Unary operators and the assignment operator are executed right to left when operators have the same precedence. For example, x = y = z
means x = (y = z)
. Other operators that have the same precedences are executed left to right. For example, x + y + z
means (x + y) + z
.