A、(operator++(x)).operator/(Y)
B、(operator++(0)).operator/(Y)
C、operator/((operator++(x,0)),Y)
D、operator/((operator++(0)),Y)
查看答案
正确答案
试题解析
c++中用成员函数重载++X为:x.oper-ator++,用友元函数重载++x为:0perator++(x),用成员函数重载x/y为:x.operator/(Y),用友元函数重载x/y为:operator/(X,Y)。