Versions Compared

Key

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

ISO/IEC 9899:1999 defines null pointers as "An integer constant expression with the value 0." In practice, attempting to dereference a null pointer causes a program to behave in an unpredictable manner or crash. Given this, null pointers should not be dereferenced.