+ 1
What is operator overloading in c++?
2 Respostas
+ 3
when you want to use basic operations like + - / * etc not with basic data types but instead with user defined data types like struct class we use operation overloading.
from the name itself it is clear enough to understand its working ie overloading operator just like we overload methods