What is operator overloading in c++? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

What is operator overloading in c++?

30th Nov 2019, 4:42 AM
Janak Sharma
Janak Sharma - avatar
1 ответ
+ 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
Rohit