Solved

Which of the Following Function Declarations Would Be Correct to Overload

Question 54

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents