Q:

What are the post-increment and decrement operators?

0

What are the post-increment and decrement operators?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

When we use a post-increment (++) operator on an operand then the result is the value of the operand and after getting the result, the value of the operand is incremented by 1. The working of the post-decrement (–) operator is similar to the post-increment operator but the difference is that the value of the operand is decremented by 1.

Note: incrementation and decrementation by 1 are the types specified.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which one is better: Pre-increment or Post increme... >>
<< Differentiate between a constant pointer and point...