+ 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 ?
1 Answer
+ 1
Please use the search bar before posting to avoid duplicates.
https://www.sololearn.com/discuss/1009817/?ref=app
https://www.sololearn.com/discuss/1410916/?ref=app
https://www.sololearn.com/discuss/988067/?ref=app