void Pointers
A void pointer is a pointer that can point to any type of variable.
It is declared as follows:
void *vptr;
Here ‘vptr’ is called a
pointer to void type
that can point to
any type of variable,
say, an int, a
float, and so on.
Do'stlaringiz bilan baham: