单选题
C++
题号 #2607945
下列关于运算符函数的描述中,错误的是( )。
参考答案
C
答案解析
运算符函数可以定义为类的友元函数所以C选项错误。
你可能感兴趣的试题
A.Data+(DatA.;
B.Data operator+(DatA.;
C.Data+operator(DatA.;
D.operator+(Data,DatA.;
A.f(v1,&v2);
B.f(v1,v2);
C.f(&v1,&v2);
D.f(&v1,v2);