...
Code Block | ||
---|---|---|
| ||
/* i is modified twice between sequence points */ i = ++i + 1; /* i is read other than to determine the value to be stored */ a[i++] = i; |
are not.
...
Noncompliant Code Example
Programs cannot safely rely on the order of evaluation of operands between sequence points. In this non-compliant noncompliant code example, the order of evaluation of the operands to the + operator is unspecified.
...
Code Block | ||
---|---|---|
| ||
a = i + b[i+1]; ++i; |
...
Noncompliant Code Example
The order of evaluation for function arguments is unspecified.
...