Multiple choice

The size of operator is a __________ operator.

  1. uniry

  2. binary

  3. logical

  4. relational

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

The sizeof operator is a unary operator because it operates on a single operand - either a type name or an expression. It returns the size in bytes of its operand at compile-time. Unary operators work with one operand, unlike binary operators which require two.