What Is Polymorphism in C++ ?
Answers were Sorted based on User's Feedback
Polymorphism in C++ means, the same entity (function or object) behaves differently in different scenarios. Consider this example: The “ +” operator in c++ can perform two specific functions at two different scenarios i.e when the “+” operator is used in numbers, it performs addition.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nashiinformaticssolutions
An object-oriented programming concept called polymorphism enables a function or object to act differently depending on the situation. Polymorphism in C++ can be called at compile time or at runtime.
Is This Answer Correct ? | 0 Yes | 0 No |
How can you force the compiler to not generate them?
What is latest update of C++ ?
What kind of problems does name mangling cause?
Discuss the role of C++ shorthands.
What is RTTI and why do you need it?
Can we call a virtual function from a constructor?
What are string library functions(syntax).
Define namespace.
What is Copy Constructor?
Explain why C++ is not purely Object Oriented Language
Question on Copy constructor.
How will you execute a stack using a priority queue? (Push and pop should be in O (1)).