In C, why is the void pointer useful? When would you use it?

In C, why is the void pointer useful? When would you use it?


The void pointer is useful because it is a generic pointer that any pointer can be cast into and back again without loss of information.

Comments