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

explain the term 'resource acquisition is initialization'?

0 Answers   Amazon,


Implement a 2D bit-matrix representing monochrome pixels which will have only OFF/ON values and will take on an average only one bit of memory for each stored bit. How to perform various operations on it?

0 Answers   Adobe,


Explain the operator overloading feature in C++ ?

0 Answers  


Tell How To Check Whether A Linked List Is Circular ?

1 Answers   IBS, Infosys,


What is the difference between creating an object, using 'new' and using 'malloc'?

3 Answers   HFG, Siemens,






What is static variable and difference between(const char *p,char const *p,const char* const p).

0 Answers   Accenture,


What Are The Differences Between A C++ Struct And C++ Class?

2 Answers   Wipro,


What is constant keyword in C++? Illustrate its various uses.

0 Answers   Akamai Technologies, Infogain,


Write a C++ Program to Find Sum and Average of three numbers.

1 Answers  


What are the advantages and disadvantages of B-star trees over Binary trees?

0 Answers  


What does it mean to declare a function or variable as static?

0 Answers   Amazon,


Can we call C++ OOPS? and Why

0 Answers  


Categories