0
What is the different between x++ and ++x? Have tried both, nothing changed.
2 Réponses
+ 1
if u use ++a and it will print the incremented value
eg: if a=5 then it will print 6
when u use a++ it will get incremented only in next step
eg: if a=5 it will print 5
0
examples: a=x++ means a=x and x=x+1different to a=++x that means x=a=x+1