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.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.