• 2022-06-26
    下列哪一项是对两个复数相加的加法运算符重载的正确形式?_____________
    A: ComplexComplex::operator+(constComplex&c)
    B: ComplexComplex::operator+()
    C: ComplexComplex::operator(constComplex&c)
    D: ComplexComplex::operator(+)(constComplex&c)
  • 举一反三