• Cursos
  • Compilador de Código
  • Discutir
  • Preços
  • Teams
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 Resposta
+ 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

Costuma ter perguntas como essa?

Aprenda de maneira mais eficiente, de graça:

  • Introdução ao Python

    7.1M de alunos

  • Introdução ao Java

    4.7M de alunos

  • Introdução ao C

    1.5M alunos

  • Introdução ao HTML

    7.5M alunos

Ver todos os cursos
Quente hoje
overloading operators << >>
1 Votes
how does this code function?
2 Votes
.
1 Votes
My question is about python?
0 Votes
Default constructor and default assignment operator
0 Votes
.
0 Votes
Where is my badge?
1 Votes
i need to learn Coding
0 Votes
Who is the best one in html can find for more comprehension
2 Votes
Quiz duel
0 Votes