+ 1

Can someone explain postfix and prefix to me. Thanks

X++, ++X

9th Jul 2017, 1:19 PM
Ryan
3 Réponses
9th Jul 2017, 1:21 PM
Hatsy Rei
Hatsy Rei - avatar
+ 4
https://www.sololearn.com/discuss/489143/?ref=app
9th Jul 2017, 1:27 PM
Siddharth Saraf
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
9th Jul 2017, 2:20 PM
Andrés04_ve
Andrés04_ve - avatar