Multiple choice

Which of the following is not an unary operator?

  1. *

  2. ++

  3. --

  4. +

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

The operator + is a binary operator used for addition of two elements. Hence, this is the correct answer.