Home » Posts tagged "C++"

What is Increment and Decrement Operators

Increment and Decrement Operators C++ provides two Unary Operators for incrementing and decrementing variables values by 1. Increment Operator ++ Decrement Operator  — These Operators operate on one Operand and used in two modes. 1)      Postfix Mode 2)      Prefix Mode Postfix Mode: When increment and Decrement operator appear after the operands, the corresponding operation is called Postfix Increment and Postfix Decrement. Postfix increment and decrement are performed on the basis of...
Continue reading »