Increment and Decrement Operators

 



While increment and decrement operators in the C programming language both modify the value of a variable, they have opposite effects. The increment operator (++), as its name suggest, increase the value of a variable by one, whlie the decrement operator (--), reduce the value of a variable by one.

Example:








Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.