Computer Science, asked by padmag19766, 6 months ago

explain virtual function & pure virtual function ​

Answers

Answered by nallagondurevanth510
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 pranalimungbhate
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