+ 1
Can someone explain postfix and prefix to me. Thanks
X++, ++X
3 Réponses
+ 4
https://www.sololearn.com/discuss/489143/?ref=app
0
a=1;
b= ++a; //a increments BEFORE assign its value
// b=2, a=2
a=1;
b= a++; //a increments AFTER assign its value
// b=1, a=2