+ 2

[DUPLICATE] Is there any diff between --y and y--??

differences

6th Nov 2017, 5:11 AM
imtiyaz adla kaab
2 Answers
+ 11
This is asked a lot. Here's a good thread: https://www.sololearn.com/Discuss/407846/?ref=app
6th Nov 2017, 5:14 AM
Tamra
Tamra - avatar
+ 6
Yes. --y is subtracting before using the value y-- is subtracting after using the value
6th Nov 2017, 5:13 AM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar