0
If x = 3 and y = ++x + x++ why y=9 not 8 . And if y= x++ + x++; y =7. What is that ?
11 Antworten
0
The increment operator before the value it is operating on means that it is incremented and then used. The opposite is true for when it comes after.
0
ok. count that expression
0
domagoj and rebecca_dg check your solution in compilator
0
ты русский ( края )
0
27¢|455666665"* позванить
0
-32=5x+10+2x
- 1
the first one im not sure. the second would be y = 3 + 4
- 1
@Domagoj Puljic
your answer is right but compilar in first example say y=9
- 1
y would only equal 9
if x = 3 and y = ++x + ++x
as this would be y = 4 + 5
- 3
the second one is 6 not 7.. I explained it in the answers of your another question similar to this :) check it ;)