+ 2

Null Pointer

What is Null Pointer in C Programming

26th Mar 2017, 9:53 AM
Lokesh Kumar
Lokesh Kumar - avatar
1 Resposta
+ 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