Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated references from C11->C23

Pointer arithmetic must be performed only on pointers that reference elements of array objects.

The C Standard, 6.5.6 7 [ISO/IEC 9899:20112024], states the following about pointer arithmetic:

...

...