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
Can there be at least some solution to determine the number of arguments passed to a variable argument list function?
When is the copy constructor called?
What is an arraylist c++?
What are friend classes? What are advantages of using friend classes?
Write a note about the virtual member function?
What do you mean by volatile and mutable keywords used in c++?
Define private, protected and public access control.
Which ide is best for c++?
Is c++ a good first language to learn?
What is the use of lambda in c++?
Is c++ vector dynamic?
What is fflush c++?
Explain register storage specifier.
What is ios flag in c++?
Why Pointers are not used in C++?