Solved

Which of the Following Function Declarations Would Be Correct to Overload

Question 41

Multiple Choice

Which of the following function declarations would be correct to overload the multiply operator for the Rational numbers class?


A) friend Rational operator timesconst Rational &left, const Rational &right) ;
B) Rational operator timesconst 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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions