What is difference between operator overriding and operator overloading | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is difference between operator overriding and operator overloading

28th Nov 2016, 4:53 AM
Nikhil
Nikhil - avatar
3 Answers
+ 2
Operator overriding is a methodology where we change the default implementation of the operator with our own required set of operations, but Operator Overloading is the way of defining one operator with a number of different implementations.
28th Nov 2016, 5:06 AM
Abhishek Kumar
Abhishek Kumar - avatar
0
Can u explain operter overloading and over riding with example in c++
15th May 2021, 3:52 AM
Glvhov Ojvhko
Glvhov Ojvhko - avatar
- 2
operator overriding is more of when you make an exception and operator overloading is when you have basically an array but you have the array as a string
28th Nov 2016, 6:41 AM
Ian
Ian - avatar