首页 › 答案 › 题库 › 远程教育 › 青书学堂

如果定义了一个类myclass,则为myclass类对象以成员函数形式重载后++运算符的声明应该为

如果定义了一个类myclass,则为myclass类对象以成员函数形式重载后++运算符的声明应该为
A、myclassoperator++()
B、myclassoperator++(int)
C、myclass&;operator++()
D、myclass&;operator++(int)
正确答案:B