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&);
Answer: D
Computer Science & Information Technology
You might also like to view...
A ____ is a set of characters based on a typeface using a specific size and style.
A. typeface B. style C. font D. text family
Computer Science & Information Technology
The speed of the system clock is one of the factors that influences a computer's performance.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology