What is the unary operator overloading?

19 views
  • Overloading an operator that takes two operands
  • Overloading an operator that takes one operand (Correct Answer)
  • Overloading an operator that takes three operands
  • Overloading an operator that takes no operand

Explanation

Answer: B

Explanation: Unary operator overloading involves overloading an operator that takes a single operand.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs