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» B. A postfix ++ has a dummy parameter|
Login to Continue
It will take less than 2 minutes