LearnFrenzy
Sign in Take a free test

Operator Overloading · Operator Overloading MCQ · Question 4

Which operators must be member functions? Answer, explanation & discussion

  • MCQ
  • Medium
  • 0 comments
  • Answer explained
  • Moderated community
Question 4 Back to Exercise

Which operators must be overloaded as non-static member functions?

  • A + and -
  • B =, [], () and -> Correct
  • C << and >>
  • D == and <
Correct Answer: Option B

The language requires these four to be members.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links