Is ++x %= 10 well-defined in C++?
While browsing the code of some project I came across the following statement: ++x %= 10; Is this statement well defined in C++ or does it fall into the same category as a[i] = i++ ? Answer As per C++11 1.9 Program execution /15: Except where noted, evaluations of operands of individual operators and of … Read more