In C, is
a[i] = a[++i];
equivalent to
a[i] = a[i+1]; i++;
That is, which side of the assignment is evaluated first and what value of i
is used on the left side? Or is this assignment ambiguous?
In C, is
a[i] = a[++i];
equivalent to
a[i] = a[i+1]; i++;
That is, which side of the assignment is evaluated first and what value of i
is used on the left side? Or is this assignment ambiguous?