Can someone please explain whether i = x[i]++; lead to undefined behavior? Note: x[i] and i are not both volatile and x[i] does not overlap i. There is C11, 6.5
Most of us are familiar with post increment, but when I look to the bytecode instructions, it shows the increment happened before the invocation to the method.