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 does namespace mean in c++?

1142


What is tellg () in c++?

1361


Do class method definitions?

1095


Write a note about the virtual member function?

1112


What is the use of ::(scope resolution operator)?

1123


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

1085


which of the following is not an secondary constant a) array b) real c) union

1856


Is dev c++ a good compiler?

1014


How can you say that a template is better than a base class?

1103


Which ide is best for c++?

1091


What is near, far and huge pointers? How many bytes are occupied by them?

1160


What is the need of a destructor?

1200


Where do I find the current c or c++ standard documents?

1134


What are maps in c++?

1008


Which field is used in c++?

1152