I saw this question been asked at SO few hours ago.
My question is related to it but just a bit different and is a result of Johannes Schaub-litb's comment to Oli Charlesworth's answer.
Is i = (0, ++i, 0)
undefined behavior?
P.S: This is just for educational purpose and has no relation with real life code or examples. Please ignore this question if you just want to add comments like "Why do you care? Nobody uses it in real world applications." etc
TIA