Increment AND Decrement Operators in C
Types :
- Pre-Increment
- Post-Increment
Increment/Decrement Operators :
- Increment & Decrement operators are unary Operators in C .
- Unary Operators : Operators which require only one Operand
- Increment Operators : ++
- Decrement Operators : --
- Increment Operator increments the Current value by 1
- Decrement Operator decrements the Current value by 1
Example :
int a = 5,b=10 a++; b--;
- Then New value of a = 6
- Then New value of b = 9

0 comments
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email