![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
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. |
Answer» B. A postfix ++ has a dummy parameter |
View all MCQs in
CPP ProgrammingNo comments yet