What is a friend function? (3) What is the difference between a friend function of a class and a member function of a class? (3) Which of the following operators must be overloaded as a friend...


What is a friend function? (3)


What is the difference between a friend function of a class and a member function of a class? (3)


Which of the following operators must be overloaded as a friend function of a class and why?  (3)


a. *                         b. &&                    c. ++                      d. >>                      e. []


Suppose that * is overloaded as a member of the class temp. What is restriction on the far left operand of * when applying on objects of type temp? (3)




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here