[单选题]

已知将运算符“+”和“*”作为类Complex的成员函数重载,设c1和c2是类Complex的对象,则表达式c1+c2*c1等价于(  )。

A.c1.operator*(c2.operator+(c1))

B.c1.operator+(c2.operator*(c1))

C.c1.operator*(c1.operator+(c2))

D.c2.operator+(c1.operator*(c2))

参考答案与解析:

相关试题

已知将运算符“+”和“*”作为类Complex的成员函数重载,设c1和c2是类Complex的对象,则表达式c1+c2*c1等价于(  )。