+ 2

Null Pointer

What is Null Pointer in C Programming

26th Mar 2017, 9:53 AM
Lokesh Kumar
Lokesh Kumar - avatar
1 Answer
+ 2
1. Null pointer is the condition when OS fails to allocate memory to the pointer at runtime. 2. We can also create Null pointer while declaration by assigning a NULL value to the pointer such as int *ptr=NULL;
26th Mar 2017, 11:13 AM
à€Šà„‡à€”à„‡à€‚à€Šà„à€° à€źà€čà€Ÿà€œà€š (Devender)
à€Šà„‡à€”à„‡à€‚à€Šà„à€° à€źà€čà€Ÿà€œà€š (Devender) - avatar