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,


What is the meaning of the following declaration: int *const *const *i?

0 Answers   Adobe,


Identify the error in the following program. include<iostream> using namespace std; void main() { int num[]={1,2,3,4,5,6}; num[1]==[1]num ? cout<<"Success" : cout<<"Error"; }

1 Answers  


What is conversion constructor in C++

0 Answers   TCS,


What is latest update of C++ ?

0 Answers   Adobe,






How do you write a function that can reverse a linked-list in C++?

0 Answers   IBS,


What Is A Default Constructor in C++ ?

0 Answers   Amazon,


Define type casting in C++.

0 Answers   Amdocs,


what is a pragma in C++?

0 Answers   Aspire,


Briefly explain various access specifiers in C++.

0 Answers   Amdocs,


Write a C++ Program to find Addition of Two Numbers.

1 Answers  


Execute the qsort () in c/sort() in c++ library or your own custom sort which will sort any type of data on user defined criteria.

0 Answers   Adobe,


Categories