Describe the difference between increment and decrement operators.
Answers
Answered by
13
increment (++)adds the value one
decrement(--) substrates the value one
decrement(--) substrates the value one
Answered by
26
The difference between increment and decrement operators are very simple. Increment operators increase the value of the variable by a particular number by which it is increased.
On the other hand decrement operators decrease the value of the variable by a particular number by which it was decreased, For example, i+2, i-2.
Similar questions
English,
7 months ago
Hindi,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Biology,
1 year ago