What is the use of dynamic_cast operator?
A. it converts virtual base class to derived class
B. it converts virtual base object to derived objeccts
C. it will convert the operator based on precedence
D. None of the mentioned
Answer:A
What is the use of dynamic_cast operator?
A. it converts virtual base class to derived class B. it converts virtual base object to derived objeccts C. it will convert the operator based on precedence D. None of the mentioned
Explanation: Because the dynamic_cast operator is used to convert from base class to derived class. 6. What is the output of this program?