Unary Operators
In C programming language, the increment and decrement operators are unary operators that are used to increase or decrease the value of a variable by 1. The increment operator is denoted by ‘++’ and the decrement operator is denoted by ‘–‘.
Here is an example of how to use the increment operator in C:
And here is an example of how to use the decrement operator in C: