What is Pure Virtual Function? Why and when it is used ?
Answer Posted / harry
pure virtual function declared in the base class.
pure virtual function having intializer=0;
pure virtual function also know as do nothing function &
dummy function.
class contain atleast one pure virtual function.
object cannote be create of that class in which pure
virtual function are declared and that class are know as
abstract class.
| Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
Can turbo c++ run c program?
What is c++ used for in games?
Is c++ a difficult language?
Why are arrays usually processed with for loop?
Is eclipse good for c++?
What are virtual functions in c++?
What does the ios::ate argument do?
How do you master coding?
Can we declare a base-class destructor as virtual?
Why do we use templates?
Explain how the virtual base class is different from the conventional base classes of the opps.
What do you mean by const correctness?
What's the hardest coding language?
What is a storage class used in c++?
What is the return value of the insertion operator?