题目:将前缀运算符“--”重载为非成员函数,下列原型中,能正确用于类中说明的是( )。
A. Decr& operator --(int);
B. Decr operator --( Decr&,int);
C. friend Decr& operator --(Decr&);
D. frlend Decr operator --(Decr&,int);
答案:评论后可见此内容
推荐使用我们的公众号搜索题目,题目更全,检索更方便。支持语音、图片、文字等多种搜索方式。