The
void pointer, also known as the generic
pointer, is a special type of
pointer that can be pointed at objects of any data type! A
void pointer is declared like a normal
pointer, using the
void keyword as the
pointer's type: 1.
void *ptr; // ptr is a
void pointer.
read more >>