Why is not 25? Strange behavior in 4 cases | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why is not 25? Strange behavior in 4 cases

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

27th Sep 2019, 12:38 PM
UraL
3 Answers
+ 2
Strange, doing preinc returns 16 🤔
27th Sep 2019, 1:37 PM
HNNX 🐿
HNNX 🐿 - avatar
27th Sep 2019, 2:19 PM
jtrh
jtrh - avatar
+ 1
HNNX 🐿 yes, predec is 16. Strange
27th Sep 2019, 7:05 PM
UraL