operator overloading | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

operator overloading

what is operator overloading?

22nd Oct 2016, 8:28 AM
Anuj kaushik
Anuj kaushik - avatar
3 Answers
+ 1
it's something like making some operations(+,-,<<, etc) possible for your own classes. without operation overloading you cannot add two instances of your class, for example.
22nd Oct 2016, 12:13 PM
Evgeniy Dudnik
Evgeniy Dudnik - avatar
- 1
you can add multiple classes
22nd Oct 2016, 1:15 PM
Azhar Rasheed
Azhar Rasheed - avatar
- 1
this course went from 0 to 100 real quick
26th Oct 2016, 12:15 PM
Justin Vitale
Justin Vitale - avatar