Treyarch interview question

In C++, what is a pure virtual function?

Interview Answers

Anonymous

5 May 2015

A pure virtual function is a virtual function which as not been implemented in the superclass, and therefore must be explicitly defined in the inheriting class.

5

Anonymous

8 Mar 2015

A virtual function is a function when inheriting the class, you should use the recommend methods provided by the virtual class that may not be defined.

1