Leave a Reply 1

Your email address will not be published. Required fields are marked *


Bob

Bob

C is correct.
You are sending a copy of the reference of the object that is returning the updated price, and a pure value that is not returning, that is why is printed only 100.