What is Null Pointer ?

Banned
11Mar2011,15:45   #1
john125's Avatar
In C how you defiend null pointer----------
Mentor
13Mar2011,00:22   #2
xpi0t0s's Avatar
Code:
int *nullPtr=NULL;
Go4Expert Member
15Mar2011,11:19   #3
vikky1988i's Avatar
Null pointers are those which points to nothing

Data_type *pointer_name=NULL;

Where NULL is a MACRO mostly Zero or -1 according to the configuration of the compiler u use