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?
A. when it doesn’t point to any value
B. when it cast to another type of object
C. using delete keyword
D. none of the mentioned
Answer:A
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?
A. when it doesn’t point to any value B. when it cast to another type of object C. using delete keyword D. none of the mentioned
Explanation:By casting the pointer to another data type, it can dereferenced from void pointer. 3. The pointer can point to any variable that is not declared with which of these?