NULL: Difference between revisions
Appearance
m Ak120 moved page OS2 API:Constant:NULL to NULL |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The NULL pointer value is a pointer that doesn't point to a data object. | |||
=== Value === | === Value === | ||
NULL is defined as: | |||
#define NULL 0 // in C++ | |||
#define NULL (([[void]]*)0) /* in C */ | |||
[[Category:Constant]] | |||
[[Category: |
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 */