Output who can explain? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Output who can explain?

int x=1,y=1,z=1; cout<<(++x||++y&&++z); cout<<x<<y<<z; In this case who can explain how answer will be 1211 ? Why x's value changed but others did not ?

16th Jan 2019, 12:13 PM
Jasur Makhsudov
1 ответ