Why use void pointer?

Void pointer is a general purpose pointer that can be used to point to data of any type. It is used when working with malloc().

Last updated