Tell me about the "other" | Sololearn: Learn to code for FREE!

+1

Tell me about the "other"

How other is implemented I dont understand the working of other

4/30/2021 5:44:03 PM

Anurag189

4 Answers

New Answer

+1

other is just a name. in classes it usually means another instance of the class.

+1

Thanks dude i got it

0

Nice! But just in case, i made this real quick to illustrate https://code.sololearn.com/cWhCQn71G5Af/?ref=app

0

in operator's overloading, "other" is the rvalue of the operand