What is the advantage of declaring void pointers?

Short Answer
Views 1230

Answer:

When we do not know what type of the memory address the pointer variable is going to hold, then we declare a void pointer for such.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.