Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   What is Null Pointer ? (http://www.go4expert.com/forums/null-pointer-t25222/)

john125 11Mar2011 15:45

What is Null Pointer ?
 
In C how you defiend null pointer----------

xpi0t0s 13Mar2011 00:22

Re: What is Null Pointer ?
 
Code:

int *nullPtr=NULL;

vikky1988i 15Mar2011 11:19

Re: What is Null Pointer ?
 
Null pointers are those which points to nothing :nice:

Data_type *pointer_name=NULL;

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


All times are GMT +5.5. The time now is 16:21.