What is a pure virtual function?
Why is it represented as = 0...how is the internal
implementation for the same

Answer Posted / viji

A virtual function with a null body is said to be pure
virtual function.
The pure virtual function can be defined later in its
derived class.......

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the stages in the development cycle?

667


Do we have to use initialization list in spite of the assignment in constructors?

670


. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

2879


What is virtual methods?

765


What is a tuple c++?

639






Which programming language's unsatisfactory performance led to the discovery of c++?

916


What is class invariant in c++?

842


What is std :: endl?

684


What is an inclusion guard?

742


Which programming language is best to learn first?

684


What is the full form of stl in c++?

786


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

670


Define vptr.

680


What is the extension of c++?

605


Which is most difficult programming language?

683