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

Tell me about virtual function

Answer Posted / hrpynux@gmail.com

A C++ virtual function is a member function in the base class that you redefine in a derived class. It is declared using the virtual keyword. It is used to tell the compiler to perform dynamic linkage or late binding on the function. ... A 'virtual' is a keyword preceding the normal declaration of a function.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What ANSI C++ function clears the screen a) clrscr() b) clear() c) Its not defined by the ANSI C++ standard

972


Difference between class and structure.

1105


What c++ library is string in?

1000


What is a stack? How it can be implemented?

1123


Is c++ a good beginners programming language?

1013


What is a memory leak in C++?

947


Is java as fast as c++?

1046


What is polymorphism and its type in c++?

1015


Explain the uses oof nested class?

1090


What are Agilent PRECOMPILERS?

984


what are Access specifiers in C++ class? What are the types?

1146


How Do you Code Composition and Aggregation in C++ ?

25260


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

2129


Give example of a pure virtual function in c++?

1085


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1037