Null Pointer | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

Null Pointer

What is Null Pointer in C Programming

26th Mar 2017, 9:53 AM
Lokesh Kumar
Lokesh Kumar - avatar
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;
26th Mar 2017, 11:13 AM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar