CPP MCQ
When does the void pointer can be dereferenced?
A)
using shift keyword
B)
when it cast to another type of object
C)
when it doesn’t point to any value
D)
using delete keyword

Correct Answer : Option (B) :   when it cast to another type of object

Explanation : By casting the pointer to another data type, it can be dereferenced from the void pointer.