+ 1
Why are we use postfix and prefix
2 Antworten
+ 5
Archana Berad The prefix increment operator adds one to its operand. This incremented value is used in the expression to get the result of the expression.
The postfix operator decrement by one and the decremented result is used in the expression to get the value of the expression.
So you can see there's big difference between both still most of beginners get confuse between
+ 1
ty