重载流提取运算符的一般格式是
A.ostream &operator>>(ostream & output,类名&对象名){...} B.ostream &operator<<(ostream & output,类名&对象名){...} C.istream &operator>>(istream & input,类名&对象名){...} D.istream &operator<<(istream & input,类名&对象名){...}正确答案C
重载流提取运算符的一般格式是
A.ostream &operator>>(ostream & output,类名&对象名){...} B.ostream &operator<<(ostream & output,类名&对象名){...} C.istream &operator>>(istream & input,类名&对象名){...} D.istream &operator<<(istream & input,类名&对象名){...}正确答案C