Operand Execution Order

Top 

 

The operands are normally executed from left to right.

. If you assign a value to a variable in any expression (including the function call), do not use this variable again in the same expression.

Example:

y = (x = 5) + (++x);