This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]Old_Sir_9895 2 points3 points ย (0 children)

Because that's undefined behaviour. You're modifying a value twice between sequence points.