In c++, the virtual function in base class can be overridden in derived class. and a member function where the specific implementation will depend on the type of the object it is called upon, at run-time.
Since virtual function has to be implemented(except for pure virtual) Can I use regular function in base class and redefine it in derived class? if yes. What's the point of using virtual function?
Thanks