posted 23 years ago
first i++ will return the value of i which is 0
but before assigning this value to left handed i unarry will come into play because
it has higher precedence over ' = ' and value 0 will be kept for later use.
Now i++ will do i=i+1 which will be i=1
At last 0 will be reassinged to i i.e i=0
So 0 is the final value of i........