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

Explain what are mutator methods in c++?

570


State the difference between delete and delete[].

577


What is cin clear () in c++?

610


How a macro differs from a template?

635


give me an example for testing a program showing the test path .show how the test is important and complex.

2419






Why c++ is so important?

602


Differentiate between an external iterator and an internal iterator?

570


What you know about structures in C++?

593


Which bit wise operator is suitable for putting on a particular bit in a number?

719


Briefly describe a B+ tree. What is bulk loading in it?

797


Explain virtual class?

584


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

650


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

540


What is difference between malloc()/free() and new/delete?

644


What can I use instead of namespace std?

641