Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Why pure virtual functions are used if they don't have implementation / When does a pure virtual function become useful?



Why pure virtual functions are used if they don't have implementation / When does a pure virtua..

Answer / hrpynux@gmail.com

A pure virtual function makes it so the base class can not be instantiated, and the derived classes are forced to define these functions before they can be instantiated. This helps ensure the derived classes do not forget to redefine functions that the base class was expecting them to.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is a singleton class c++?

0 Answers  


What is the advantage of an external iterator.

0 Answers  


How do you sort a sort function in c++ to sort in descending order?

0 Answers  


What are the various compound assignment operators in c++?

0 Answers  


How much do c++ programmers make?

0 Answers  


Give 10 points of differences between C & C++.

0 Answers   HCL,


Can a Structure contain a Pointer to itself?

0 Answers  


What is array in c++ example?

0 Answers  


Implement strcmp

3 Answers   Bloomberg, Citadel,


What is the use of volatile variable?

0 Answers  


How can I improve my c++ skills?

0 Answers  


Write about c++ storage classes?

0 Answers  


Categories