What are different types of polymorphism supported by C++
Answers were Sorted based on User's Feedback
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 |
Answer / minakshi
runtime polymorphism
1.function overloading
2,operator overloading
compile time
1.virtual function
| Is This Answer Correct ? | 7 Yes | 18 No |
Differentiate between a constructor and a method in C++.
When there is a global variable and local variable with the same name, how will you access the global variable?
What is an html tag?
How do I use arrays in c++?
How to stop conversions among objects?
Why iomanip is used in c++?
Can you overload the operator+ for short integers?
What are the uses of c++ in the real world?
Explain "passing by value", "passing by pointer" and "passing by reference" ?
what is the order of initialization for data?
10 Answers Amazon, TCS, Wipro,
What do you understand by zombie objects in c++?
How do you establish an is-a relationship?