What do you mean by pure virtual functions?

Showing Answers 1 - 1 of 1 Answers

samiksc

  • Jan 20th, 2006
 

A pure virtual function is a function declaration with the keyword 'virtual' prefixed to it and definition equated to 0. In C++ declaring a pure virtual function makes the class abstract.

e.g. virtual void f() = 0;

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions