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 / nashiinformaticssolutions

• 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

Why can templates only be implemented in the header file?

1102


Do the names of parameters have to agree in the prototype, definition, and call to the function?

1024


What is a driver program?

1103


Which should be more useful: the protected and public virtuals?

1031


Write a program using display() function which takes two arguments.

1063


Is c++ high level programming language?

1126


Explain binary search.

983


Do you know what are pure virtual functions?

1143


Comment on assignment operator in c++.

1108


Does c++ support multilevel and multiple inheritances?

1005


what does the following statement mean? int (*a)[4]

1078


What is a class definition?

1070


What is the main function c++?

1115


Why is c++ awesome?

1028


What apps are written in c++?

1094