- 1
Please explain me how the operation gone.
3 Answers
+ 1
See this
https://www.sololearn.com/learn/CPlusPlus/1610/?ref=app
Your code snippet has sequence point issue so undefined behaviour.. Means it may result defferent answer in different compilers.. See the warnings..
It may result 10,10,12 or 12, 10,12, or 12,11,11 or 12,11,12 depends on the sequence it executed by compiler implementation specific..
https://www.sololearn.com/Discuss/1690694/?ref=app
https://www.sololearn.com/discuss/2238290/?ref=app
https://www.sololearn.com/discuss/2141168/?ref=app
https://www.sololearn.com/discuss/2130984/?ref=app
+ 1
https://code.sololearn.com/cTCiyoq1Sq2V/?ref=app
0
Thank you guy! Sorry for late answer I'm busy yesterday.