What Is Polymorphism in C++ ?
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 |
Tell us the size of a float variable.
What is the difference between creating an object, using 'new' and using 'malloc'?
What is an algorithm (in terms of the STL/C++ standard library)?
How to input string in C++
Write a program to generate the Fibonocci Series in C++.
Explain about Searching and sorting algorithms with complexities
What Is A Default Constructor in C++ ?
Write a syntax and purpose of switch statement.
Explain the difference between C and C++.
What are the costs and benefits of using exceptions?
What is the difference between public, private, and protected inheritance?
What are the advantages and disadvantages of B-star trees over Binary trees?