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

How come you find out if a linked-list is a cycle or not?

658


Why do we use classes in c++?

679


Define whitespace in C++.

861


What is array in c++ example?

748


If a function doesn’t return a value, how do you declare the function?

705






Why is c++ still used?

697


Do class method definitions?

668


What is a memory leak c++?

668


What is the best it certification?

702


Is set c++?

658


Describe new operator?

700


What is the exit function in c++?

629


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

702


What do you mean by public protected and private in c++?

696


What is array give example?

674