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

Explain virtual functions in C++.

Answer Posted / hr@tgksolutions.com

• A virtual function is a member function that can be overridden in derived classes. Declared with the virtual keyword in the base class, enabling runtime polymorphism.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a hash function c++?

1117


What is the use of main function in c++?

1018


Difference between struct and class in terms of access modifier.

1228


Can you please explain the difference between static and dynamic binding of functions?

1069


What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero

1149


Which programming language's unsatisfactory performance led to the discovery of c++?

1391


What are the classes in c++?

1153


What is the use of register keyword with the variables?

973


Is swift a good first language?

1086


Who calls main function?

1161


Define pure virtual function?

1039


Can I uninstall microsoft c++ redistributable?

1183


What is a stack c++?

1052


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1591


What is a static element?

1130