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
What is the use of :: operator in c++?
What is the array and initializing arrays in c++?
How the keyword struct is different from the keyword class in c++?
What is the output of the following program? Why?
What is the difference between a pointer and a link in c ++?
What are the advantages of c++? Explain
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What sorting algorithm does c++ use?
Can user-defined object be declared as static data member of another class?
Which is best ide for c++?
What is the equivalent of Pascal's Real a) unsigned int b) float c) char
Why pointer is used in c++?
What does std mean in c++?
Difference between pass by value and pass by reference?
Write a program to concatenate two strings.