• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 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 ?

c++outputcoutexplainansweroutputs
16th Jan 2019, 12:13 PM
Jasur Makhsudov
1 Odpowiedź
+ 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
16th Jan 2019, 12:38 PM
Diego
Diego - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Which is easier to learn first between python and JS?
0 Votes
Does sololearn teaches on how to create games
0 Votes
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
Necesitó ayuda
1 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Controls issue
0 Votes
Table tags on html
0 Votes