What is operator overloading? Give Example
Answer Posted / msn
Making an operator doing different operation other than
the normal one is termed as operator overloading..
Say for example Operator + is normally used to add numbers
but we can add another function concatenate two strings
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Write a program to reverse a string using recursive function?
What is object in oop?
What is overloading in oops?
What is polymorphism oop?
What are constructors in oop?
What do you mean by overloading?
Can we have inheritance without polymorphism?
Why do we use encapsulation in oops?
What is class and object with example?
What is the difference between static polymorphism and dynamic polymorphism?
What is oops and why we use oops?
What is destructor in oop?
What is polymorphism and types?
What is the use of oops?
What is polymorphism what are the different types of polymorphism?