Difference between x++ and x+1
Have you ever wondered what the heck is the difference between x++ and x=x+1?
When x++ is used, the compiler increases the value of x by 1 and
In the case of x=x+1, it again increases the value of x by 1. What to wonder?🤷🏼♂️
Let's see an example ...
saiphani.hashnode.dev4 min read