Write a program in C++ that contains a class derived from base.

b) Write a program in C++ that contains a class derived from base. The base class should
have a virtual function fun( ) and it should be overridden. Try to call fun( ) from the
constructor of the base class and display the result.


Leave a Reply