+ 2
prefix & postfix
what is the difference between i++ and ++i ? I know well about i++. But how does ++i work?
3 odpowiedzi
+ 13
+ 2
Thanks for help
+ 2
This will help you to understood the concepts of pre-fix and postfix with examples
https://www.tutorialspoint.com/Difference-between-prefix-and-postfix-operators-in-Chash#:~:text=The%20increment%20operator%20%2B%2B%20if,is%20called%20Prefix%20increment%20operator.