here is what I think

first x will get the value 10,
then y will get value 10
then a will bcum 11
then again a will increase and bcum 12
then z will get 12

but it's not happening like that
the output is 12 11 11
why ??




or

it should give 10 11 12
as the output .. whats happning