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?



What do you mean by pure virtual functions in C++? Give an example?..

Answer / 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

More C++ General Interview Questions

Why is c++ called oops?

0 Answers  


What is a multiset c++?

0 Answers  


Which ide is best for c++?

0 Answers  


Define 'std'.

0 Answers  


In a function declaration what does extern means?

0 Answers   Flextronics,


What is "map" in STL?

2 Answers  


Explain linked list using c++ with an example?

0 Answers  


Why is null pointer used?

0 Answers  


Mention the storage classes in c++.

0 Answers  


What is the difference between public, private, and protected access?

0 Answers  


Do you know the problem with overriding functions?

0 Answers  


Can manipulators fall in love?

0 Answers  


Categories