What is operator overloading? Give Example
Answer Posted / palsaniya sadikhasan, meta.
Operator overloading is an operator that perform different
task based on given arguments.
e.g. suppose '+' is an operator is used to add two number
and if we use '+' with two strings then operator '+' can
concate two string is known as operator overloading.
or
operator overloading means one operator can perform multiple
operation based on given arguments.
| Is This Answer Correct ? | 39 Yes | 2 No |
Post New Answer View All Answers
What is destructor in oop?
What is class in oop with example?
Prepare me a program for the animation of train
Can you inherit a private class?
What is the real time example of inheritance?
What is polymorphism what is it for and how is it used?
hi all..i want to know oops concepts clearly can any1 explain??
Get me an image implementation program.
What is static modifier?
Please send ford technologies placement paper 2 my mail id
What is purpose of inheritance?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What are objects in oop?
write a C++ program for booking using constructor and destructor.
What is inheritance write a program to show use of inheritance?