Question: QUESTION 1 How does C++ compiler differs between overloaded postfix and prefix operators? C++doesn't allow both operators to be overloaded in a class A postfix



QUESTION 1 How does C++ compiler differs between overloaded postfix and prefix operators? C++doesn't allow both operators to be overloaded in a class A postfix ++ has a dummy parameter A prefix++ has a dummy parameter By making prefix++ as a global function and postfix as a member function QUESTION2 Which of the following is true about this pointer? O It is passed as a hidden argument to all function calls It is passed as a hidden argument to all non-static function calls It is passed as a hidden argument to all static functions It is only available to constructors None of these statements are true
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
