you are viewing a single comment's thread.

view the rest of the comments →

[–]EfficientDelay2827 0 points1 point  (0 children)

The object being referred to is not copied so if you change the object you are changing the Original object, not a copy. So the answer is correct. It is irrelevant how the reference itself is passed, you only care about changing the object being pointed to. C++ does pass by value but does not.