+ 4

What is void pointer?

void *ptr;

24th Jul 2019, 5:38 PM
Nagaraj P
Nagaraj P - avatar
1 Answer
+ 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 Kh
Rohit Kh - avatar