2/4/2020 11:50:30 AM
You can assign a variable with only one value. If there is more than one value last is used, I.e. 4. So output is 4.
comma operator evaluates lhs operand and discard the result.
so between 2,3 2 is discarded and 3 is kept
between 3,4 3 is discarded and 4 is kept.
After that nothing more to evaluate so 4 is assigned to i
Learn Playing. Play Learning
Send us a message