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...


What is the difference between virtual functions and pure virtual functions?



What is the difference between virtual functions and pure virtual functions?..

Answer / hrpynux@gmail.com

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.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ Interview Questions

Write a C++ Program to Display Number (Entered by the User).

1 Answers  


what is friend function in C++?

0 Answers   TCS,


Explain why C++ is not purely Object Oriented Language

0 Answers   Aspire,


Factory Method C++ – How to delete pointers returned by it

0 Answers  


Explain about Searching and sorting algorithms with complexities

0 Answers   Accenture,


What is meant by exit controlled loop?

0 Answers   Adobe,


How can you force the compiler to not generate them?

0 Answers   Amazon,


C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

0 Answers  


What is conversion constructor in C++

0 Answers   TCS,


What are the costs and benefits of using exceptions?

0 Answers   Amazon,


What Is A Default Constructor in C++ ?

0 Answers   Amazon,


What is the difference between virtual functions and pure virtual functions?

1 Answers  


Categories