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

Can we use THIS Pointer in static function – Reason in C++?

0 Answers  


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

0 Answers  


If class D is derived from a base class B

0 Answers  


Implement a 2D bit-matrix representing monochrome pixels which will have only OFF/ON values and will take on an average only one bit of memory for each stored bit. How to perform various operations on it?

0 Answers   Adobe,


How will you print a list of all unique words from a string which may contain repeated words?

0 Answers   Adobe,


What are issues if we mix new and free in C++?

0 Answers  


What do you know about Volatile keyword in C++? Explain with an example code.

0 Answers   Adobe,


C++ Public access specifier instead of Private – What is bad ?

0 Answers  


What is Coupling?

0 Answers   Cap Gemini,


How to reverse a string in C++

0 Answers  


What is an algorithm (in terms of the STL/C++ standard library)?

0 Answers   Amazon,


Write a C++ Program to find Square Root of a number using sqrt() function.

1 Answers  


Categories