...
Programs cannot safely rely on the order of evaluation of operands between sequence points. In this noncompliant code example, i
is evaluated twice within the same without an intervening sequence point, and so the behavior of the expression is undefined:
...