單項(xiàng)選擇題

如果類A要重載插入運(yùn)算符“<<”,那么重載函數(shù)參數(shù)表的形式一般定義為()

A.(constA&)
B.(ostream&)
C.(constA&,ostream&)
D.(ostream&,constA&)

微信掃碼免費(fèi)搜題