Sequence points and order of evaluation
问题 I was reading through K&R and i came across this example about uncertainty in behavior while evaluating expression like a[i]=i++ ; The C99 spec in $6.5.2 says that Between the previous and next sequence point an object shall have its stored value modified at most once by the evaluation of an expression. Furthermore, the prior value shall be read only to determine the value to be stored. The above example from K&R holds good on the first statement. Please explain how does it fail on the second