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

What is c++ code?

0 Answers  


What is heap sort in c++?

0 Answers  


Explain how functions are classified in C++ ?

0 Answers  


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

0 Answers  


What is the purpose of the noexcept keyword?

1 Answers  


Is c++ a good first language to learn?

0 Answers  


Is c++ a difficult language?

0 Answers  


1.what is the difference between software & package &application.

1 Answers   Infosys,


What are arithmetic operators?

0 Answers  


What is problem with Runtime type identification?

2 Answers  


What is private public protected in c++?

0 Answers  


What are advantages of C++ when comparing with C?

18 Answers   HP, iGate, TCS,


Categories