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


Please Help Members By Posting Answers For Below Questions

Why do we use setw in c++?

641


What does catch(…) mean?

610


Difference between delete and free.

612


In c++, what is the difference between method overloading and method overriding?

595


What is an adaptor class in c++?

598






What is the basic structure of a c++ program?

610


What is function overriding in c++?

603


When you overload member functions, in what ways must they differ?

588


Why c++ is the best language?

592


Why are pointers not used in c++?

626


Can you Mention some Application of C/C++?

623


What is the history of c++?

555


Explain terminate() function?

592


What do you mean by function and operator overloading in c++?

611


Write about the role of c++ in the tradeoff of safety vs. Usability?

593