What Is Polymorphism in C++ ?



What Is Polymorphism in C++ ?..

Answer / 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

More C++ Interview Questions

What is Copy Constructor?

5 Answers   ABC, Siemens,


How does stack look in function calls? When does stack overflow? What can you do to remedy it?

0 Answers   Adobe,


What is Coupling?

0 Answers   Cap Gemini,


Name the operators that cannot be overloaded.

1 Answers   Wipro,


Briefly explain various access specifiers in C++.

0 Answers   Amdocs,






What is the purpose of a constructor? Destructor?

0 Answers   Amazon,


In C++ what is a vtable and how does it work?

0 Answers   Agilent,


What is a virtual function in C++?

0 Answers   C DAC,


Explain function prototypes in C++.

0 Answers   Aricent,


What are Agilent PRECOMPILERS?

0 Answers   Agilent,


When must you use a constructor initializer list?

0 Answers   Amazon,


What is placement new?

1 Answers   Amazon,


Categories