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...

How Virtual functions call up is maintained?

Answer Posted / ranjeet garodia

it is not look up table.
instead it is vtable.
every object has the vptr which locate the vtable in which
there is entries for the virtual functions.
so when calling the function it ucall the respective
function through vptr.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how functions are classified in C++ ?

1297


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

1259


How a macro differs from a template?

1223


what is multi-threading in C++?

1111


What is a character in c++?

1089


What is namespace & why it is used in c++?

1175


What are associate containers?

1099


What it is and how it might be called (2 methods).

1263


What happens when the extern "c" char func (char*,waste) executes?

1131


How many static variables are created if you put one static member into a template class definition?

1088


What does I ++ mean in c++?

1176


Define stacks. Provide an example where they are useful.

1076


What is scope in c++ with example?

1192


Are vectors passed by reference c++?

1051


Why is c++ still best?

1025