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 language does google use?

1152


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

1090


What do you mean by static variables?

1165


You run a shell on unix system. How would you tell which shell are you running?

1164


Is there any function that can skip certain number of characters present in the input stream?

1058


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

1027


What is long in c++?

1240


How to implement is-a and has-a class relationships?

1014


How is objective c different from c++?

1237


Why do we use setw in c++?

1106


What is the benefit of learning c++?

979


Write a function that swaps the values of two integers, using int* as the argument type?

1023


What is cin clear () in c++?

1206


Tell me can a pure virtual function have an implementation?

1022


Can I learn c++ without knowing c?

1052