Hacker News new | ask | show | jobs
Is i=i++ the same as i++? (medium.com)
2 points by julien421 3394 days ago
1 comments

You can't answer this sort of question by testing it in a C compiler.

It might help but you'll often be compiling "undefined behavior" and getting results that you can't rely on.

What would help settle this definitively is researching "sequence points" in the C standard.