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

Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 Answers  


What Are The Differences Between A C++ Struct And C++ Class?

2 Answers   Wipro,


What does malloc return in C and C++?

0 Answers   Alter,


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

0 Answers   Amazon,


Consider the following C++ program

0 Answers  


It is possible to build a C++ compiler on top of a C compiler. How would you do this?

0 Answers   Amazon,


How can you force the compiler to not generate them?

0 Answers   Amazon,


write a program To generate the Fibonacci Series.

0 Answers   Accenture,


Mention the default functions in C++, how would you detect that error has occurred inside the constructor and destructor.

0 Answers   Adobe,


What is a COPY CONSTRUCTOR and when is it called?

0 Answers   IBS,


What is pass by value & reference.

0 Answers   Accenture,


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

0 Answers   Global Logic, iNautix,


Categories