What is the difference between a virtual and pure virtual function in C++?
Utilisateur anonyme
In simplest terms, an abstract function contains an implementation body in the declaration and a pure virtual function does not. Thus, the abstract function MAY be overridden by the derived class whereas the pure virtual function MUST be overriden (implemented).