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

What is searching? Explain linear and binary search.

1036


Is empty stack c++?

1054


What is abstract keyword in c++?

1117


What is #include cstdlib in c++?

1230


What is setiosflags c++?

1025


What are the advantage of using register variables?

1205


What is constant in c++ with example?

1204


Explain how to initialize a const member data.

1078


Difference between delete and free.

1133


What is the syntax for a for loop?

1196


Explain 'this' pointer and what would happen if a pointer is deleted twice?

1128


Is turbo c++ free?

1120


What are the two types of polymorphism?

1205


What do you mean by persistent and non persistent objects?

1492


Where Malloc(), Calloc(), and realloc() does get memory?

1100