Discussion :: C++ - MCQs
- 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 : Option A
Explanation :
Because the dynamic_cast operator is used to convert from base class to derived class.
Be The First To Comment