Is ++x %= 10 well-defined in C++?
As per C++11 1.9 Program execution /15: Except where noted, evaluations of operands of individual operators and of subexpressions of individual expressions are unsequenced. If a side effect on a scalar object is unsequenced relative to either another side effect on the same scalar object or a value computation using the value of the same …