+ 1

What is operator overloading in c++?

30th Nov 2019, 4:42 AM
Janak Sharma
Janak Sharma - avatar
2 Antworten
+ 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
30th Nov 2019, 6:41 AM
minirkk
minirkk - avatar