+ 1

Is x+=2 so what is value of x?

it was asked in a game i was playing in c++

1st Apr 2017, 8:48 AM
HACKER HITMAN
HACKER HITMAN - avatar
4 Réponses
+ 20
x = x + 2
1st Apr 2017, 8:50 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
x=x+2
1st Apr 2017, 11:46 AM
nikita shesh
nikita shesh - avatar
+ 1
x=x+2
2nd Apr 2017, 3:41 AM
翁志翔
翁志翔 - avatar
0
Answer is Error because there is no value initialized to X
1st Apr 2017, 8:57 AM
Nuthan Murarysetty
Nuthan Murarysetty - avatar