A void pointer is a pointer. A pointer that declares with
void data type is known as void pointer or generic pointer. The void pointer
can be represented by any pointer and any pointer can be represented by void
pointer.
In other word all pointer type (like as int, float etc) can be assign
a void pointer and a void pointer can be assign any pointer.
Sy:
void *pointer_variable;
No comments:
Post a Comment