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

Why c++ is faster than java?

1020


Write a program to find the Factorial of a number

1028


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

1077


What are the differences between new and malloc?

1077


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1010


What is virtual base class?

1035


Which function cannot be overloaded c++?

1065


What is c++ and its uses?

1174


what are function pointers?

1005


Do you know what is overriding?

1135


What is #include sstream?

1035


Show the declaration for a static function pointer.

1027


How much do coding jobs pay?

981


Difference between strdup and strcpy?

1154


What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack

1045