I know that we have different pointers like int, float, and char. A void pointer is the only pointer which can hold all o
int
float
char
void
Type safety. Defining the type of pointers helps the compiler find errors where you are trying to use data of the wrong type through a pointer. That's the reason C has types in the first place.