You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

Non-compliant Example


  • No labels