✏️ Explanatory Question

Give one point of difference between unary and binary operators.

👁 143 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Difference between unary and binary operators:

  • Unary operators operate on a single operand (e.g., ++, --).
  • Binary operators operate on two operands (e.g., +, -).

unary operators operate on a single operand whereas binary operators operate on two operands.