Answer:
The prefix form of increment operator is ++a, for the variable a.
- it first increments the value of the variable and substitutes the incremented value of the variable to the expression.
The postfix form of increment operator is a++, for the variable a.
- it substitutes the existing value of the variable to the expression and then increments the value.
Explanation:
Let a = 6.
++a + 5 = 12.
but
a++ + 5 =11.