Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

CERT C++ Secure Coding StandardEXP10-CPP. Do not depend on the order of evaluation of subexpressions or the order in which side effects take place
ISO/IEC TR 24772Operator precedence/order of evaluation [JCW]
Side-effects and order of evaluation [SAM]
MISRA-CRule 12.2 (required): The value of an expression shall be the same under any order of evaluation that the standard permits

Bibliography

[ISO/IEC 9899:2011]Section 6.5, "Expressions"

 

...