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

Why do we use virtual functions?

Answer Posted / uma sankar pradhan

we use virtual functions to achive dynamic binding
Dynamic binding is establishing relation between the
function call and function definition at run time

Is This Answer Correct ?    22 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1571


What is abstraction encapsulation?

1059


Can we define a class within the interface?

987


What is polymorphism give a real life example?

972


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2493


What is the significance of classes in oop?

1059


What is encapsulation oop?

994


What is super in oop?

1088


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4080


What is the main purpose of inheritance law?

1147


What is encapsulation in oops?

958


What is constructor in oop?

1019


Why do we use class?

1026


Why interface is used?

956


What does enum stand for?

1061