Void Pointers
Declaration of Void Pointers
void *genericPointer;
Example of Using Void Pointers
int integerValue = 42; char charValue = 'A'; double doubleValue = 3.14; void *pointerToData; // Pointing to an integer pointerToData = &integerValue; // Pointing to a character pointerToData = &charValue; // Pointing to a double pointerToData = &doubleValue;