Versions Compared

Key

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

...

Although the behavior is well defined, it is not immediately obvious whether i gets incremented or not. Even in the absence of side effects, it is possible to write confusing expressions that do not execute as desired. This guideline exemplifies both these conditions.

Noncompliant Code Example

...