Multiple Choice
The general syntax 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:

Verified
Correct Answer:
Verified
Related Questions
Q27: The general form of the functions to
Q28: A friend function does not have access
Q29: Any function that overloads an operator is
Q30: Which of the following is the syntax
Q31: The return type of the function to
Q33: The operators that cannot be overloaded are
Q34: The return type of the function operator
Q35: Which of the following is a built-in
Q36: Which of the following is the general
Q37: Operators can be overloaded either for objects