I_am_10_squirrels, 1 month 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.