Multiple choice

When the operator ++ is placed after the variable name, first assignment of the value of the variable takes place and then the value of the variable is incremented. This operation is known as __________________.

  1. increment

  2. post-increment

  3. pre-increment

  4. none of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

When the operator ++ is placed after the variable name, first assignment of the value of the variable takes place and then the value of the variable is incremented. This operation is known as post-increment.