WHAT IS THE DIFFERENCE BETWEEN PRE DECREMENT OPERATOR AND POST DECREMENT OPERATOR?
All Answers
need an explanation for this answer? contact us directly to get an explanation for this answer
- Pre decrement operator is used to decrement variable value by 1 before assigning the value to the variable.
- Post decrement operator is used to decrement variable value by 1 after assigning the value to the variable.
total answers (1)