+ 2
Indeed, the result remains the same, however, it is generally recommend to pass custom data types as references (actually, whenever possible, as constant references -> const MyClass&) so that not the entire object has to be copied into the function, but only a reference is passed, which is usually a cheaper operation since the reference essentially only contains the object's memory adress, not the whole object.



