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
Explain what are mutator methods in c++?
State the difference between delete and delete[].
What is cin clear () in c++?
How a macro differs from a template?
give me an example for testing a program showing the test path .show how the test is important and complex.
Why c++ is so important?
Differentiate between an external iterator and an internal iterator?
What you know about structures in C++?
Which bit wise operator is suitable for putting on a particular bit in a number?
Briefly describe a B+ tree. What is bulk loading in it?
Explain virtual class?
How would you differentiate between a pre and post increment operators while overloading?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
What is difference between malloc()/free() and new/delete?
What can I use instead of namespace std?