What does i = (i, ++i, 1) + 1; do?
In the expression (i, ++i, 1), the comma used is the comma operator the comma operator (represented by the token ,) is a binary operator that evaluates its first operand and discards the result, and then evaluates the second operand and returns this value (and type). Because it discards its first operand, it is generally … Read more