A.Volume operator-(double,dpible);
B.double Volume::operator-(double);
C.Volume Volume::operator-(Volume);
D.Volume operator-(Volume);
[单选题]在下面的运算符重载函数的原型中,错误的是A.Volume operator-(double,double);B.double Volume::operator-(double);C.Volume Volume::operator-(Volume);D.Volume operator-(Volume,Volume);
[单选题]下面重载乘法运算符的函数原型声明中错误的是( )A.TestClass operator *(MyClass,double);B.TestClass operator *(double,MyClass);C.TestClass operator *(double,double);D.TestClass operator *(MyClass,MyClass);
[单选题]下面重载乘法运算符的函数原型声明中错误的是( )。
[单选题]下列运算符重载函数的原型错误的是( )。A.Volume operator-(double,double);B.double Volume::operator-(double);C.Volume Volume::operator-(Volume);D.Volume operator-(Volume,Volume);
[单选题]下面是重载为非成员函数的运算符函数原型,其中错误的是A.Fraction operator+(Fraction,Fraction);B.Fraction operator-(Fraction);C.Fraction& perator=(Fraction&,Fraction);D.Fraction& operator+=(Fraction&,Fraction);
[单选题]下面是重载为非成员函数的运算符函数原型,其中错误的是( )。A.Fractionoperator+(Fraction,Fraction);B.Fra
[单选题]下面是重载为非成员函数的运算符函数原型,其中错误的是A. . Fraction operator + (Fraction, Fraction);B. . Fraction operator - (Fraction);C. . Fraction& perator = (Fraction&, Fraction);D. . Fraction& operator += (Fraction&, Fraction);
[单选题]在重载运算符函数时,下面运算符必须重载为类的成员函数的是( )。A.+B.-C.++D.->
[单选题]将运算符“+”重载为非成员函数,下列原型声明中,错误的是( )。A.MyClock operator+(MyClock,long);B.MyClock operator+(MyClock,MyClock);C.MyClock operator+(long,long);D.MyClock operator+(long,MyClock);
[单选题]将运算符“+”重载为非成员函数,下列原型声明中,错误的是( )。A.MyClockoperator+(MyClock,long);B.MyClock