+ 2
Null Pointer
What is Null Pointer in C Programming
1 ответ
+ 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;