Sometime before this question was posted in this board and we had a lengthy discussion.
The main difference between a pure virtual function and a regular virtual function is _______.
A. the return type
B. the inheritance properties
C. a pure virtual function cannot have an implementation.
D. the location in the class
Posted by Mister C
Many would pick 'C'.
The only difference between a pure virtual function and regular virtual function is that pure virtual function makes a class "Abstract" and regular virtual function does not make the class "Abstract"
Polymorphic OOP made the below mentioned statement
Pure virtual destructors MUST have a body
Whether a virtual function is pure or regular, it CAN have a body.
Hope this is of some help to your folks