Interview Questions

What is pure virtual function?

C++ Interview Questions and Answers


(Continued from previous question...)

30. What is pure virtual function?

A class is made abstract by declaring one or more of its virtual functions to be pure. A pure virtual function is one with an initializer of = 0 in its declaration

(Continued on next question...)

Other Interview Questions