What is the difference between a pure virtual function and a virtual function?

I know “Pure Virtual Function is a Virtual function with no body”, but what does this mean and what is actually done by the line below:

virtual void virtualfunctioname() = 0

4 Answers
4

Leave a Reply

Your email address will not be published. Required fields are marked *