I_am_10_squirrels , 2 months ago The first line passes the argument by reference, ie, the object itself. The second line passes the object by value, ie, a copy.
The first line passes the argument by reference, ie, the object itself.
The second line passes the object by value, ie, a copy.