Answer is option (iv) 8.
First the inner parenthesis would be evaluated. i.e.(a+=3,5,a)
It would be evaluated from left to right.
Now the outer statement would be evaluated and only the right most element would be assigned.