+ 2
I didn't get the --g or g--??
3 Answers
+ 2
-- before and after variable change the value by -1.the diffrence is, that when you put it before it will change variable immidietly and cout method will print the new value. if you put it after variable it will delay changing the value to after method is done, so cout mwthod will print old value and then the value of variable will change