如果定义了一个类myclass,则为myclass类对象以成员函数形式重载后运算符的声明应该为()。
A.myclassoperator++()
B.myclass& operator++()
C.myclassoperatorint++(int)
D.myclass& operator++(int)
答案: <查看本题扣1积分>
查看答案
答案不对?请尝试站内搜索