what is a virtual function ??
how is it different from any other functions
What is a virtual function?
A virtual function is a member function that you expect to be redefined in derived classes. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived class’s version of the function
there was no such thing in lectures ??
did i miss anything ?
can u tell me which lecture has this ??
and if not then please give me an example …