difference between pre increment and post increment
Answers
Answered by
5
Pre-increment (++i) − Before assigning the value to the variable, the value is incremented by one. Post-increment (i++) − After assigning the value to the variable, the value is incremented.
- Please Drop Some Thanks.
Answered by
0
Explanation:
Pre increment operator is used to increment variable value by 1 before assigning the value to the variable.
Post increment operator is used to increment variable value by 1 after assigning the value to the variable.
Similar questions