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 StandardEXP00-CPP. Use parentheses for precedence of operation
ISO/IEC TR 24772Operator precedence/order of evaluation [JCW]
MISRA-CRule 12.1 (advisory): Limited dependence should be placed on C’s operator precedence rules in expressions

Bibliography

[Dowd 2006]Chapter 6, "C Language Issues" ("Precedence," pp. 287–288)
[ISO/IEC 9899:2011]Section 6.5, "Expressions"
[Kernighan 1988] 
[NASA-GB-1740.13]Section 6.4.3, "C Language"

...