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

Discussion :: C++ - MCQs

  1. Which is used to create a pure virtual function ?
  2. A.
    $
    B.
    =0
    C.
    &
    D.
    !

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    For making a method as pure virtual function, We have to append '=0' to the class or method.


Be The First To Comment