A.TestClass operator *(MyClass,double);
B.TestClass operator *(double,MyClass);
C.TestClass operator *(double,double);
D.TestClass operator *(MyClass,MyClass);
[单选题]下面重载乘法运算符的函数原型声明中错误的是( )。
[单选题]下列是重载乘法运算符的函数原型声明,其中错误的是( )。A.MyClass operator*(double,double);B.MyClass operator*(double,MyClass);C.MyClass operator*(MyClass,double);D.MyClassoperator*(MyClass,MyClass);
[单选题]下列是重载乘法运算符的函数原型声明,其中错误的是A.MyClass operator * (double, double);B.MyClass operator * (double, MyClass);C.MyClass operator * (MyClass, double);D.MyClass operator * (MyClass, MyClass);
[单选题]下列是重载乘法运算符的函数原型声明,其中错误的是( )。A.MyClass operator*(double,double);B.MyClass operator*(double,MyClass);C.MyClass operator*(MyClass,double);D.MyClass operator*(MyClass,MyClass);
[单选题]下列是重载乘法运算符的函数原型声明,其中错误的是( )。A.MyClassoperator*(double,double);B.MyClassope
[单选题]( 33 )下列是重载乘法运算符的函数原型声明,其中错误的是A. ) MyClass operator*(double,double);B. ) MyClass operator*(double,MyClass);C. ) MyClass operator*(MyClass,double);D. ) MyClass operator*(MyClass,MyClass);
[单选题]将运算符“+”重载为非成员函数,下列原型声明中,错误的是( )。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
[单选题]在下面的运算符重载函数的原型中,错误的是( )。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);