Void pointer
|
A void pointer is a pointer that points to an object of unknown type. Void pointers are commonly used in programming languages like C, and may be typecast into pointers pointing to objects of a specific data type. Void pointers are commonly used to allocate memory to blocks of data.
A void pointer can point to an arbitary number of bytes. You cannot dereference it without casting it to a specific pointer type. This also means that pointer arithmetic cannot be performed on a void pointer, since the size of the pointed-to object is not known.