Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added comma

...

The following noncompliant code example attempts to retrieve an array and increment the array's first value. The array is part of a struct that is returned by a function call. Consequently, the array has temporary lifetime, and modifying the array results in undefined behavior.

...