Multiple choice

Which one is the best example of unary operator?

  1. a = a+ 5;

  2. a = a - 5;

  3. a = ++a;

  4. a = a * 5;

  5. None of these

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

Single operand is used for ++ incremental operator.