问题详情
将前缀运算符“--”重载为非成员函数,下列原型中,能正确用于类中说明的是()。
A.Decr&operator--{int};
B.Decroperator--(Decr&,int);
C.friend Decr& cperator--(Decr&);
D.friend Decr operacor--(Decr&,int);
请帮忙给出正确答案和分析,谢谢!