Solved

What Is Wrong with the Following Overloaded Extraction Operator Declaration

Question 49

Multiple Choice

What is wrong with the following overloaded extraction operator declaration?
Istream& operator >>istream& in, const myClass &object) ;


A) Object should not be a pass by reference parameter
B) Object should not be a const parameter
C) You can not put the & on the return type
D) nothing

Correct Answer:

verifed

Verified

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

Related Questions