填空题
表达式x. operator++( ) 还可写成
1
。
【正确答案】
【答案解析】
++x[解析] C++语言中用成员函数重载++x为x. operator++( ) ,用友元函数重载++x为:operator++(x) 。
提交答案
关闭