Versions Compared

Key

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

...

Wiki Markup
Using the {{sizeof}} expression in this example reduces the total number of names declared in the program, which is generally a good idea \[[Saks 02|AA. C References#Saks 02]\].  The {{sizeof}} operator is almost always evaluated at compile time (except in the case of variable length arrays).
Wiki Markup

When working with {{sizeof()}}, keep in mind \[[ARR01-A. Do not apply the sizeof operator to a pointer when taking the size of an array]\].

Non-Compliant Code Example

...