What Is Polymorphism in C++ ?
Answer Posted / hrpynux@gmail.com
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 |
Post New Answer View All Answers
What is a c++ map?
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
Who invented turbo c++?
Consider the following C++ program
What is the protected keyword used for?
What is isdigit c++?
How do you write a function that can reverse a linked-list?
Comment on local and global scope of a variable.
Is it possible to provide special behavior for one instance of a template but not for other instances?
Why is it necessary to use a reference in the argument to the copy constructor?
What is meant by entry controlled loop?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
Why do we use pointers in c++?
When is dynamic checking necessary?
What are formatting flags in ios class?