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 do you mean by pure virtual functions in C++? Give an example?

Answer Posted / hrpynux@gmail.com

A pure virtual function is a virtual function in C++ for which we need not to write any function definition and only we have to declare it. It is declared by assigning 0 in the declaration. An abstract class is a class in C++ which have at least one pure virtual function.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a multiset c++?

1076


What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor

1102


What is the full form of c++?

1246


When should we use container classes instead of arrays?

971


Write some differences between an external iterator and an internal iterator?

970


Why is main function important?

1051


What is a c++ object?

1099


What is the difference between containment and delegation?

1244


How can you differentiate between inheritance and implementation in c++?

1149


What is the type of 'this' pointer?

972


What do you mean by friend class & friend function in c++?

1010


What is the keyword auto for?

994


What is flag in computer?

984


How to give an alternate name to a namespace?

1045


What is abstraction c++?

947