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 |
Write a program that can take input from 3 to 8 and calculate the average?
Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70
What are "pure virtual" functions?
0 Answers Adobe, Alter, iNautix,
Write a program that ask for user input from 5 to 9 then calculate the average
How do you write a function that can reverse a linked-list in C++?
What is the difference between member functions and static member functions?
Explain the difference between method overriding and method overloading in C++?
What is pass by value & reference.
What is an abstract class in C++
0 Answers SwanSoft Technologies,
Briefly explain various access specifiers in C++.
How to delete array of objects in C++? Proof by C++ code for proper deletion
Explain the difference between C and C++.