Q. Which of the following operators should be preferred to overload as a global function rather than a member method?

  • (A) Postfix ++
  • (B) Comparison Operator
  • (C) Insertion Operator <<
  • (D) Prefix++
πŸ’¬ Discuss
βœ… Correct Answer: (C) Insertion Operator <<

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
252
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vinay
Publisher
πŸ“ˆ
85%
Success Rate