A

Admin • 833K Points
Coach

Q. How C++ compiler does differ between overloaded postfix and prefix operators?

  • (A) By making prefix ++ as a global function and postfix as a member function.
  • (B) A prefix ++ has a dummy parameter
  • (C) A postfix ++ has a dummy parameter
  • (D) C++ doesn’t allow both operators to be overloaded in a class
  • Correct Answer - Option(C)
  • Views: 23
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.