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

What is the difference between Stack and Queue in C++?

0 Answers   Global Logic, iNautix,


What is a constructor initializer list?

0 Answers   Amazon,


What is function overloading and operator overloading in C++?

0 Answers   IBS, TCS,


Explain encapsulation in C++.

0 Answers   Verifone,


Explain the importance of method overloading in C++?

0 Answers   Akamai Technologies, Infogain,


Discuss the role of C++ shorthands.

0 Answers   Adobe,


Define namespace.

1 Answers  


What is the difference between public, private, and protected inheritance?

0 Answers   Amazon,


What are the fundamental features of an object-oriented language?

0 Answers   Accenture,


What are the costs and benefits of using exceptions?

0 Answers   Amazon,


what is friend function in C++?

0 Answers   TCS,


What is constant keyword in C++? Illustrate its various uses.

0 Answers   Akamai Technologies, Infogain,


Categories