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 &x in c++?

0 Answers  


Can we change the basic meaning of an operator in c++?

0 Answers  


How would perform Pattern Matching in C++?

0 Answers   Genpact,


Which of the following is evaluated first: a) && b) || c) !

0 Answers  


Comment on c++ standard exceptions?

0 Answers  


what is the use of Namespace in c++.

3 Answers  


Write a program to find the reverse Fibonacci series starting from N.

0 Answers   Huawei,


What is the exit function in c++?

0 Answers  


What do the header files usually contains?

0 Answers  


why v use c++ even we have microprocessor

2 Answers   CybAge,


What is c++ used for in games?

0 Answers  


What are the types of container classes?

0 Answers  


Categories