Hi Tracy,
Originally posted by Tracy Qi:
I am still confused here.
array[i++] = array[6]
But I think after this operation i is still 5. so how come i = 6?
[] is evaluted first then post-increment ++. That means,
array[i++] yealds array[5] and i = 6.
After this the evaluation of the expression on the right side of the equal sign is performed, and I hope that you are clear on that.
Bala Arul.
[This message has been edited by Bala Arul (edited May 03, 2001).]