0

Just a question 😜

we can use x -= 1 instead of x=x-1 so what can we use instead of x=y-1?

25th Oct 2017, 7:26 PM
Shyamal Bhatt
Shyamal Bhatt - avatar
1 Odpowiedź
+ 2
on your example and Iuka example you can have x = --y; // :D But try to read more in the future about pre and post increment :) at one example they are the same, but in fact they're​ not (tip from a beginner..haha)
25th Oct 2017, 8:31 PM
derXred
derXred - avatar