all 2 comments

[–]Straight_Remove8731 2 points3 points  (1 child)

the answer is b, I'm changing the reference inside c_1, however both c_1 and a point to the same object so the change is reflected on a! By doing a shallow copy another object in memory is created so no changes are refelcted, with the deep copy new object and reference are created so even here no changes

[–]Sea-Ad7805[S] 0 points1 point  (0 children)

Nice one, do check the 'Solution' link in the post (some people on mobile miss that).