问题 填空题

前置自增运算符++重载为类的友元函数的形式为 [13] ,重载为类的成员函数的形式为 [14] 。 (设类为A,类对象为a)

答案

参考答案:[13] friend A operator++(A &) [14] a. operator++().

选择题
单项选择题