0

I don get ++

help

18th Nov 2016, 10:59 AM
ozoromo
ozoromo - avatar
4 Answers
+ 2
Increment operator by 1.
18th Nov 2016, 11:08 AM
Paul
Paul - avatar
0
If x = 2, ++x would be 3
18th Nov 2016, 11:19 AM
Paul
Paul - avatar
- 1
thx
18th Nov 2016, 11:12 AM
ozoromo
ozoromo - avatar
- 1
int x=3; int y= y++;//y=3 and x would get a plus one int z=++x;//z=5 and x gets a plus one
18th Nov 2016, 8:14 PM
Omer Nahum
Omer Nahum - avatar