--x is pre decrement so x becomes 7.x-- is post decrement no need to worry about this until the expression is evaluated.first x will have 7. second x will have 7. dont forget about post dec.7-7 is 0no...
x-=--x-x--;This is a special case.Here --x and x-- are evaluated first and then final value of x is substituted in the expression regardless of precedence and associativity.After --x, x becomes 7.Afte...