Posts Tagged: c program

Virtual function in C++.

Virtual function: Virtual functions, one of advanced features of Oop is one that does not really exist but it appears real in some parts of a program.
To make a member function virtual, the keyword virtual is used in the methods while it is declared in the class definition but not in the member function definition.