void pointer as Function Argument in C programming - void pointer in C
Learn C - C tutorial - void pointer as function argument in c programming - C examples - C programs
void pointer as function argument in C programming
- The void pointer is also known as generic pointer, this pointer can be pointed at objects of any type.
- A void pointer is declared like a normal pointer, using the void keyword as the pointer's type:
void *ptr; // ptr is a void pointer
.