Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Research and respond to the following questions: 1. What is a friend function? 2. What is the difference between a friend function of a class and a

Research and respond to the following questions:1. What is a friend function?2. What is the difference between a friend function of a class and a member function of a class?3. Suppose that the operator << is to be overloaded for a user-defined class mystery. Why must << overloaded as a friend function?4. Suppose that the binary operator + is overloaded as a member function for a class strange. How many parameters does the function operator+ have?5. When should a class overload the assignment operator and defined the copy constructor?6. What is returned by the function that overloads the operator >> For a class?7. What is returned by the function that overloads the operator << for a class?8. What is the purpose of a dummy parameter in a function that overloads the post-increment or Post decrement operator for a class?9. What type of value should be returned by a function that overloads a rigid relational operator?10. How many parameters are required to overload the pre-increment operator for a class as a member function? Assignment Requirements:•After completing your research for each question, use a Word document that includes each question number along with its response. Use a Word table with two columns, question # and your response (see table below).Question # Researched Response .•Be sure to insert a cover page as well as including sources of information..•Correct grammar, spelling, and punctuation are expected.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question