NULL - C stddef.h

C examples for stddef.h:NULL

Type

macro

From

<cstddef> 
<cstdlib> 
<cstring> 
<cwchar> 
<ctime> 
<clocale> 
<cstdio>

Description

Null pointer

Description

This macro expands to a null pointer constant, an integral constant expression that evaluates to zero (such as 0 or 0L).

Demo Code

#include <stdio.h>
#include <stddef.h>

int main ()/*from  w ww  .  j a  v a2  s . co  m*/
{

  printf ("%u\n", NULL);

  return 0;
}

Related Tutorials