| |||||||||
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.