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

What is void pointer?

void *ptr;

24th Jul 2019, 5:38 PM
Nagaraj P
Nagaraj P - avatar
1 ответ
+ 4
In simple word the used of this statement is when we dont know beforehand what will the type of data will be that this pointer is pointing on.
25th Jul 2019, 10:07 PM
Rohit