Home / Questions / What is the advantage of declaring void pointers?
Explanatory Question

What is the advantage of declaring void pointers?

👁 1,282 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

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.