+ 2
[DUPLICATE] Is there any diff between --y and y--??
differences
2 Answers
+ 11
This is asked a lot. Here's a good thread:
https://www.sololearn.com/Discuss/407846/?ref=app
+ 6
Yes.
--y is subtracting before using the value
y-- is subtracting after using the value