explain virtual function & pure virtual function
Answers
Answered by
0
Explanation:
Pure virtual function. A virtual function is a member function of base class which can be redefined by derived class. A pure virtual function is a member function of base class whose only declaration is provided in base class and should be defined in derived class otherwise derived class also becomes abstract.
Answered by
0
Answer:
Pure virtual function. A virtual function is a member function of base class which can be redefined by derived class. A pure virtual function is a member function of base class whose only declaration is provided in base class and should be defined in derived class otherwise derived class also becomes abstract.
Explanation:
I hope this helps you
Similar questions