What is a pure virtual function?
Why is it represented as = 0...how is the internal
implementation for the same
Answer Posted / vikas
A pure virtual function makes a class abstract.0 is used in
its representation to distinguish it from a normal virtual
function. More at
http://www.cppquestions.com/viewtopic.php?f=26&t=14
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Describe exception handling concept with an example?
What are c++ files?
Why ctype h is used in c++?
Can constructor be static in c++?
What do you mean by volatile and mutable keywords used in c++?
What is the need of a destructor? Explain with the help of an example.
How does atoi function work?
Which format specifier is used for printing a pointer value?
Do class method definitions?
Do you know what are pure virtual functions?
What are manipulators in c++ with example?
Program to check whether a word is a sub-string or not of a string typed
Can we change the basic meaning of an operator in c++?
what is upcasting in C++?
What is a storage class used in c++?