Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

increment and decrement operator

Increment Operators: The increment operator is used to increment the value of 
a variable in an expression. In the Pre-Increment, value is first incremented 
and then used inside the expression. Whereas in the Post-Increment, value is 
first used inside the expression and then incremented.

Decrement Operators: The decrement operator is used to decrement the value of 
a variable in an expression. In the Pre-Decrement, value is first decremented 
and then used inside the expression. Whereas in the Post-Decrement, value is 
first used inside the expression and then decremented.
 
PREVIOUS NEXT
Tagged: #increment #decrement #operator
ADD COMMENT
Topic
Name
7+4 =