NULL
From Cppreference
| Defined in header <cstddef>
|
||
| Defined in header <cstring>
|
||
| Defined in header <cwchar>
|
||
| Defined in header <ctime>
|
||
| Defined in header <clocale>
|
||
| Defined in header <cstdio>
|
||
| #define NULL /*implementation-defined*/
|
||
Defines the null pointer constant, which is an integral constant expression prvalue of integer type that evaluates to zero or a prvalue of type std::nullptr_t. The null pointer constant may be converted to any pointer type; such conversion results in the null pointer value of that type. If the null pointer constant has integer type, it may be converted to a prvalue of type std::nullptr_t.
[edit] Equivalent definition
#define NULL 0 |
[edit] Example
[edit] See also
| (keyword) | |
| (C++11)
|
the type of the null pointer literal (typedef) |