Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: our writing style prohibits referring to a reference as part of the text

...

Wiki Markup
According to C99 Section 6.5 \[[ISO/IEC 9899:1999|AA. C References#ISO/IEC 9899-1999]\] (see also [undefined behavior 32 | CC. Undefined Behavior#ub_32] of Annex J):

...

Wiki Markup
\[[ISO/IEC 9899:1999|AA. C References#ISO/IEC 9899-1999]\] Section 5.1.2.3, "Program execution," Section 6.5, "Expressions," and Annex C, "Sequence points"
\[[ISO/IEC PDTR 24772|AA. C References#ISO/IEC PDTR 24772]\] "JCW Operator precedence/Order of Evaluation" and "SAM Side-effects and order of evaluation"
\[[MISRA 04|AA. C References#MISRA 04]\] Rule 12.1
\[[Summit 05|AA. C References#Summit 05]\] Questions 3.1, 3.2, 3.3, 3.3b, 3.7, 3.8, 3.9, 3.10a, 3.10b, and 3.11
\[[Saks 07|AA. C References#Saks 07]\]

...

EXP14-C. Beware of integer promotion when performing bitwise operations on chars or shorts      03. Expressions (EXP)      EXP31-C. Avoid side effects in assertions