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



Tell me about virtual function..

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

More C++ Interview Questions

What are Agilent PRECOMPILERS?

0 Answers   Agilent,


Tell us the size of a float variable.

0 Answers   Accenture,


How will you print a list of all unique words from a string which may contain repeated words?

0 Answers   Adobe,


Do you know about Agilent PRECOMPILERS. ?

0 Answers   Agilent,


Explain the FOR loop with a help of a code.

0 Answers   Accenture,


Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.

1 Answers  


what is the difference between a pointer and a reference?

0 Answers   Amazon, Blue Star, C DAC,


Define an Abstract class in C++?

0 Answers  


What is a virtual base class?

6 Answers   Fidelity, Siemens,


Identify the errors in the following program. #include <iostream> using namespace std; void main() { int i=5; while(i) { switch(i) { default: case 4: case 5: break; case 1: continue; case 2: case 3: break; } i-; } }

1 Answers  


Identify the error in the following program. #include<iostream.h> void main() { int i = 0; i = i + 1; cout « i « " "; /*comment *//i = i + 1; cout << i; }

1 Answers  


Is there a difference between class and struct?

0 Answers  


Categories