...
This rule appears in the C Secure Coding Standard as EXP30-C. Do not depend on the order of evaluation for side - effects.
This rule appears in the Java Secure Coding Standard as EXP05-J. Do not write more than once to the same variable within an expression.
...