1.

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.
Answer» C. A prefix ++ has a dummy parameter


Discussion

No Comment Found