Home »
MCQs »
C++ MCQs
Which of the following can point to any type of variable?
144. Which of the following can point to any type of variable?
- Far pointer
- Null pointer
- Void pointer
- Dangling pointer
Answer: C) Void pointer
Explanation:
A void pointer can point to any type of variable, to access value from a void pointer we need to typecast it.