Jump to content

NULL: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Null Pointer value.
The NULL pointer value is a pointer that doesn't point to a data object.


=== Value ===
=== Value ===

Latest revision as of 16:26, 13 March 2018

The NULL pointer value is a pointer that doesn't point to a data object.

Value

NULL is defined as:

#define NULL 0 // in C++
#define NULL ((void*)0) /* in C */