0
So...unless the post and pre increment operators used are assigned to a seperate variable they are same?
4 ответов
+ 5
No? It's not really clear as to what you are confused about, for now.
https://www.sololearn.com/Discuss/407846/?ref=app
+ 1
the lines
++a;
a++;
are the same
the difference is only when it is a part of an operation
+ 1
when the whole line is only ++a; or a++; it does the same
when you have y=x++, first is value of x assigned to y, then is x incremented
when you have y=++x, first is x incremented, then value is assigned
0
ok i am clear now..thank you!