Versions Compared

Key

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

...

Mistakes regarding precedence rules can be avoided by the suitable use of parentheses. Using parentheses defensively reduces errors and, if not taken to excess, makes the code more readable.

References

Wiki Markup
\[[ISO/IEC 9899-1999|AA. C References#ISO/IEC 9899-1999]] 6.5, "Expressions"

...


\[[NASA-GB-1740.13|AA. C References#NASA-GB-1740.13]] 6.4.3, "C Language"

...


\[[Dowd 06|AA. C References#Dowd 06]] Chapter 6, "C Language Issues" (Precedence, pp. 287-288)