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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is c++ used anymore?

1047


How do you clear a map in c++?

1080


Write a C++ Program to check whether a number is prime number or not?

1078


What is the best way to take screenshots of a window with c++ in windows?

1012


Can constructor be private in c++?

988


What are the syntactic rules to be avoid ambiguity in multiple inheritance?

1138


How would you use qsort() function to sort an array of structures?

1079


Differentiate between an inspector and a mutator ?

1165


How do we balance an AVL Tree in C++?

1104


What is object in c++ example?

1052


What are guid? Why does com need guids?

1017


Explain the operation of overloading of an assignment operator.

1122


Do vectors start at 0 c++?

992


What is the use of pointer in c++ with example?

1000


Why c++ is created?

960