i am a c++ beginner and i did not get the concept of virtual functions in polymorphism
i am not getting the following lines
virtual function has an important advantage over simple overloading
.if a particular member function is not defined for any derived class but is called through derived object using pointer to base class,the function defined in the base class is used.base class definition of a function forms a default definition for all derived class.any redefinition of the virtual function in a particular derived class causes the original definition to be replaced with the new one whenever the old one is used in that class
help greatly appreciated