Home » Interview » Technology

Define void pointer using C++.?

Correct Answer: 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 You can declare void pointer as follows: void *p;

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion