0
What does that long minus after the variable mean?
int x = 5, y =1; do { y++; } while (x-- >= 0); // what is this minus sign doing there? System.out.print(y); found it in a challenge question by Petér Gyöngyik. And this isn't the only question I found this in... @Cлaвeн Ђервида thx, i haven't seen that this minus are two minus after eachother. Soluion: Actually it is pretty hard to tell the difference between one or two minus signs in challenge questions on my tablet.
4 Respostas
+ 1
x-- maybe?
0
Can you give an example code?
0
I test that is cpp and it show me a error!