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

What is lambda in c++?

573


Who calls main function?

583


What kind of problems can be solved by a namespace?

589


Which is the best c++ compiler for beginners?

554


What size is allocated to the union variable?

587






What is increment operator in c++?

555


What is c++ course?

574


Write syntax to define friend functions in C++.

601


What are the storage qualifiers?

661


Difference between pass by value and pass by reference?

593


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

609


What is class invariant in c++?

741


Why c++ is created?

572


What do you mean by translation unit in c++?

667


What is Destructor in C++?

634