C examples for stddef.h:NULL
macro
<cstddef> <cstdlib> <cstring> <cwchar> <ctime> <clocale> <cstdio>
Null pointer
This macro expands to a null pointer constant, an integral constant expression that evaluates to zero (such as 0 or 0L).
#include <stdio.h> #include <stddef.h> int main ()/*from w ww . j a v a2 s . co m*/ { printf ("%u\n", NULL); return 0; }