Home / CSE MCQs / C++ - MCQs :: Discussion

Discussion :: C++ - MCQs

  1. What is the use of dynamic_cast operator?
  2. 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

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Because the dynamic_cast operator is used to convert from base class to derived class.


Be The First To Comment