Here is a listing of C++ programming questions on “Pointer to Void” along with answers, explanations and/or solutions: 1. Void pointer can point to which type of objects?
A. int
B. float
C. double
D. all of the mentioned
Answer:A
Here is a listing of C++ programming questions on “Pointer to Void” along with answers, explanations and/or solutions: 1. Void pointer can point to which type of objects?
A. int B. float C. double D. all of the mentioned
Explanation:Because it doesn’t know the type of object it is pointing to, So it can point to all objects. 2. When does the void pointer can be dereferenced?