0
I'm confused about prefix and postfix Increasment oppration
3 odpowiedzi
+ 3
This question has been asked many times before.
Use search bar for more answers...
https://www.sololearn.com/discuss/1690694/?ref=app
+ 3
Please use the search bar to avoid duplicates.
https://www.sololearn.com/discuss/422648/?ref=app
https://www.sololearn.com/discuss/24884/?ref=app
https://www.sololearn.com/discuss/1047413/?ref=app
https://www.sololearn.com/discuss/1778372/?ref=app
https://www.sololearn.com/discuss/1774189/?ref=app
https://www.sololearn.com/discuss/525457/?ref=app
https://www.sololearn.com/discuss/174369/?ref=app
https://www.sololearn.com/discuss/9559/?ref=app
https://www.sololearn.com/discuss/974150/?ref=app
https://www.sololearn.com/discuss/104180/?ref=app
+ 1
$x=$y++ is equivalent to $x=$y=$y+1
$x=++$y is equivalent to $x=1+$y=$y