Please explain me how the operation gone. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Please explain me how the operation gone.

https://code.sololearn.com/c8mOKh8HT70g/?ref=app

21st Aug 2020, 4:19 PM
Aye Chan Ko
Aye Chan Ko - avatar
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
21st Aug 2020, 4:50 PM
Jayakrishna 🇮🇳
+ 1
https://code.sololearn.com/cTCiyoq1Sq2V/?ref=app
21st Aug 2020, 4:51 PM
Sevda Krithika Sharma
Sevda Krithika Sharma - avatar
0
Thank you guy! Sorry for late answer I'm busy yesterday.
23rd Aug 2020, 7:58 AM
Aye Chan Ko
Aye Chan Ko - avatar