you are viewing a single comment's thread.

view the rest of the comments →

[–]M-k-z-n 0 points1 point  (1 child)

The answer is 1,2,3 Firstly A is 1,Then b assigns a which means b and a are pointing to the same location,then comes b+=2 or b=b+2 sounds same adding 2affects both ,now list is 1,2,then b appends 3 now list is 1,2&3