Friday, February 27, 2015

 What do you mean by pure virtual functions?  

Question: What do you mean by pure virtual functions?  ?

Answer: A pure virtual member function is a member function that the base class forces derived classes to provide. Normally these member functions have no implementation. Pure virtual functions are equated to zero. <PRE>class Shape { </PRE><PRE>public: </PRE><PRE>&nbsp;&nbsp;virtual void draw() = 0; </PRE><PRE>}; </PRE>&nbsp;<BR clear=all>

Tags:Interview Questions, Languages, C++,

Please submit your Interview Answer for the above Question via replying to this post. Thank you for visiting to our blog, Have a Good Day!.



Sponsor Advertisement



Library Automation Software

Library Management System Software

Our Library Management Softare offers complete library management modules and automation solution that enables information providers, information managers, resource incharge, resource managers & librarians to manage & disseminate information & resources....

No comments:

Post a Comment