I came across this question:
X *= y is an example of
Arithmetic assignment operations
Assignment operator
Overloading arithmetic operations with assignment operator
All of the above
I expected the answer to be "Assignment operator", but the answer is given as "Overloading arithmetic operations with assignment operator".
Can someone explain how we are doing operator overloading in the *=
operator?