Versions Compared

Key

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

...

As an array initializer, a string literal specifies the initial values of characters in an array as well as the size of the array (see STR36-C. Do not specify the dimension bound of a character array initialized with a string literal). This code creates a copy of the string literal in the space allocated to the character array a. The string stored in a can be safely modified.

...