• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 2

Why does ++a +(a++) + a; gives result 185

a was initially 60

c++
27th Sep 2017, 4:41 PM
Vedansh
Vedansh - avatar
1 Odpowiedź
+ 18
61 + (62) + 62 = 185 https://stackoverflow.com/questions/28219423/if-parenthesis-has-a-higher-precedence-then-why-is-increment-operator-solved-fir
27th Sep 2017, 4:51 PM
Babak
Babak - 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
What is problem in this code
0 Votes
playground input
0 Votes
Software developer
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
How I can use div
0 Votes
Activities on sololearn
0 Votes
Asking for final year project ideas!
1 Votes
Html issue
0 Votes
TIPS From Veterans
1 Votes
Playground input
0 Votes