注意:此页面搜索的是所有试题
题目内容
(大连工业大学-C语言下)
(单选题) 如果定义了一个类myclass,则为myclass类对象以成员函数形式重载后++运算符的声明应该为(本题3.0分)
A、 myclass operator++()
B、 myclass operator++( int )
C、 myclass& operator++()
D、 myclass& operator++( int )
A、 myclass operator++()
B、 myclass operator++( int )
C、 myclass& operator++()
D、 myclass& operator++( int )
参考答案

