C++ | Virtual Functions | Question 6
Predict the output of following program.
(A) Compiler Error: there cannot be an empty derived class
(B) Compiler Error: Derived is abstract
(C) No compiler Error
Explanation: If we don’t override the pure virtual function in derived class, then derived class also becomes abstract class.