A

Admin • 833.24K Points
Coach

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

  • (A) C++ doesn’t allow both operators to be overloaded in a class
  • (B) A postfix ++ has a dummy parameter
  • (C) A prefix ++ has a dummy parameter
  • (D) By making prefix ++ as a global function and postfix as a member function.
  • Correct Answer - Option(B)
  • Views: 26
  • 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.