0
Can anyone explain how the increment and decrement operators works in an expression?
For example If n=1 then n++ + --n + n++ - n-- = ?
2 Antworten
+ 1
just remember a simple rule
if it is preincrement then first increment the value and then use it and if it is postincrement then first use it then increment it.