ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> C++ >> OOPS
 
 


 

 
 STL interview questions  STL Interview Questions (93)
 OOPS interview questions  OOPS Interview Questions (563)
 C++ General interview questions  C++ General Interview Questions (461)
Question
What is virtual Function.
 Question Submitted By :: OOPS
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
Virtual function is a function that uses keyword "virtual"
with the datatype of the function. When the base class as
well as the derived class contains a function both having
the same name, just to resolve ambiguity and copy of the
same data again and again we use the keyword "virtual"
preeceeding it. It is used to achieve poymorphism.
 
Is This Answer Correct ?    6 Yes 0 No
Poonam
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
which is platform independent device used in computers   2
what is the difference between class and object?   9
What is polymorphism? Explain with an example.   46
what is a class   6
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks. Excel 2
What is difference between function overloading and overriding? emc2 1
i^=j; j^=i; i^=j; value of i,j   1
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; } Wipro 2
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization? IntraLogic 1
The type of variable a pointer points to must be the part of pointer's definition so that: infosys 1
What's the full form of STL?   2
create a c++ program that will ask 10 numbers and display their sum using array.   1
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com