Jump to content

NULL: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== NULL ==
The NULL pointer value is a pointer that doesn't point to a data object.
Null Pointer value.


=== 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 */