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 a pure virtual function?
Why is it represented as = 0...how is the internal
implementation for the same

Answer Posted / helloworld

I believe pure virtual function is a member function with a
declaration as NULL;
virtual void fun()=0;
Now why zero,since the internal implementation of virtual
function is collection of function pointer ...we intialize
this value of function pointers as NULL.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java a c++?

975


What is singleton pattern in c++?

922


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

997


Who was the creator of c++?

994


What is std namespace in c++?

1117


Explain the register storage classes in c++.

1145


What is meant by forward referencing and when should it be used?

949


Incase of a function declaration, what is extern means?

902


Difference between overloaded functions and overridden functions

1002


Are c and c++ similar?

996


What is the history of c++?

998


What are keywords in c++?

1046


What do you mean by global variables?

1026


Can a program run without main in c++?

1126


Is C++ case sensitive a) False b) Depends on implementation c) True

1017