What is Pure Virtual Function? Why and when it is used ?
Answer Posted / harry
pure virtual function declared in the base class.
pure virtual function having intializer=0;
pure virtual function also know as do nothing function &
dummy function.
class contain atleast one pure virtual function.
object cannote be create of that class in which pure
virtual function are declared and that class are know as
abstract class.
| Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
What is a v-table?
Are there any special rules about inlining?
Difference between delete and free.
Can we run c program in turbo c++?
What are separators in c++?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What are the two main components of c++?
Can you sort a set c++?
What is namespace & why it is used in c++?
Is set c++?
What are the various arithmetic operators in c++?
Describe the advantage of an external iterator.
What is a template in c++?
How do you clear a set in c++?
What character terminates all character array strings a) b) . c) END