Answers

Question and Answer:

  Home  C++ Pointers and Functions

⟩ What is void pointer using C++?

In C++, void represents the absence of type, so void pointers are pointers that point to a value that has no type. The void pointers can point to any data type.

We can declare void pointer as follows.

Void *p;.

 215 views

More Questions for you: