a) when it doesn’t point to any value
b) when it cast to another type of object
c) using delete keyword
d) using shift keyword
Answer: b
Explanation: By casting the pointer to another data type, it can be dereferenced from the void pointer.
Related Posts
When we define the default values for a function?
In which of the following cases inline functions may not word?
i) If the function has static variables.
ii) If the function has global and register variables.
iii) If the function contains loops
iv) If the function is recursiveAn inline function is expanded during ______________
What is an inline function?
What happens to a function defined inside a class without any complex operations (like looping, a large number of lines, etc)?
Which of the following is the default return value of functions in C++?
How many minimum number of functions should be present in a C++ program for its execution?
Join The Discussion