What are different types of polymorphism supported by C++

Answers were Sorted based on User's Feedback



What are different types of polymorphism supported by C++..

Answer / ammu

polymorphism occurs in 2 levels one at compile time and
another at run time
compile time polymorphism includes function overloading and
operator overloading
run time polymorphism includes virtual function

Is This Answer Correct ?    22 Yes 3 No

What are different types of polymorphism supported by C++..

Answer / minakshi

runtime polymorphism
1.function overloading
2,operator overloading
compile time
1.virtual function

Is This Answer Correct ?    7 Yes 18 No

Post New Answer

More C++ General Interview Questions

What are the various operations performed on stack?

0 Answers  


A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

0 Answers  


What is c++ similar to?

0 Answers  


What is the topic of the C++ FAQ list?

1 Answers  


which of the following is not an secondary constant a) array b) real c) union

0 Answers  






How many storage classes are available in C++?

1 Answers  


What are the c++ access specifiers?

1 Answers  


What operator is used to access a struct through a pointer a) >> b) -> c) *

0 Answers  


When should we use container classes instead of arrays?

0 Answers  


When there is a global variable and local variable with the same name, how will you access the global variable?

0 Answers  


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

0 Answers  


write a program to add two numbers without using an arithmetic operator.

1 Answers   NIIT,


Categories