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 |
How would you use qsort() function to sort an array of structures?
Why is c++ still best?
Which bit wise operator is suitable for turning off a particular bit in a number?
Which field is used in c++?
What is meant by forward referencing and when should it be used?
What are the advantages and disadvantages of using inline and const?
2 Answers Polaris, TCS, Zimmer Biomet,
Give 2 examples of a code optimization?
What is the difference between const and constexpr?
Explain the need for "Virtual Destructor"?
What is virtual destructor? What is its use?
Do inline functions improve performance?
Describe new operator?