Solved

The General Syntax of the Function Prototype to Overload the Stream

Question 24

Multiple Choice

The general syntax of the function prototype to overload the stream extraction operator >> for a class is ____.


A) istream& operator>>(istream&, className&) ;
B) const istream& operator>>(istream&, className&) ;
C) friend operator>>(istream&, className&) ;
D) friend istream& operator>>(istream&, className&) ;

Correct Answer:

verifed

Verified

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

Related Questions