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

Why the usage of pointers in C++ is not recommended ?

1097


Explain the isa and hasa class relationships.

773


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

3575


What language is a dll written in?

719


Can we use this pointer inside static member function?

827


How do you initialize a string in c++?

732


What is polymorphism & list its types in c++?

802


Describe linked list using C++ with an example.

848


How would you differentiate between a pre and post increment operators while overloading?

852


Is c++ still in demand?

869


What is a stack? How it can be implemented?

896


What is constant in c++ with example?

846


What is ostream in c++?

745


What is a manipulator in c++?

924


What's the most powerful programming language?

782