+ 2
How is this possible?
https://www.sololearn.com/post/1049609/?ref=app In this It says the answer is 30 isn't it 25? Please explain
6 Respuestas
+ 1
Yes
+ 1
That means the increment operator works first befor doing multiplication and division .
0
5*foo++=6
Thereby 5*6=30
0
So it adds one before multiplying it right ?
0
No I mean that
5*(5+1)=5*6=30. Like this
0
Okay thanks