Multiple Choice
Which of the following would be an appropriate function declaration to add two rational numbers?
A) void friend operator+ const Rational &left, const Rational &right) ;
B) void operatator+ const Rational &left, const Rational &right) ;
C) friend Rational operator+ const Rational &left, const Rational &right) ;
D) Rational operator+ const Rational &left, const Rational &right) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q22: The copy constructor for a class is
Q23: The assignment operator must be a _
Q24: A friend function needs to be passed
Q25: Who can access private data in a
Q26: How many parameters are there in a
Q28: If obj1 and obj2 are both objects
Q29: Which of the following are valid declarations
Q30: The destructor for a class is called<br>A)
Q31: Friend functions are members of the class.
Q32: The following is a properly declared overloaded