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
What is polymorphism oop?
What is the real time example of inheritance?
How do you achieve polymorphism?
c++ program to swap the objects of two different classes
What is inheritance in oop?
What is stream in oop?
What is class and example?
What are the 3 principles of oop?
What is the point of oop?
Why multiple inheritance is not possible?
Can static class have constructor?
What is ambiguity in inheritance?
What exactly is polymorphism?
what type of questions
Why do we use class in oops?