These changes to the position of the operator with respect to the operands create two new expression formats, prefix and postfix.
++x;// prefix
x++;// postfix
Prefix increments the value, and then proceeds with the expression.
Postfix evaluates the expression and then performs the incrementing
Prefix:

The Output of Your Code:

Postfix:

The Output of Your Code:



