hello vishnu,
u have to understand the effect of using the unary postfix
operator.
when we use postfix operator(++) the value of the variable
is incremented after the expression is evaluated.
the right hand variable 'x'is incremented only after the
initial value to x is assigned to the left hand variable 'x' .thus the
incremention doesn't come into effect in the given problem.so each time
the value of variable 'x' in the given expression is evaluated to
0(zero).
hope this helps