下面是重載為非成員函數的運算符的函數原型,其中錯誤的是()。
A.BigInt operator +(BigInt, BigInt)
B.BigInt&; operator =(BigInt&;, BigInt)
C.BigInt operator -(BigInt,BigInt)
D.BigInt&; operator *(BigInt, BigInt)
正確答案:BigInt&; operator =(BigInt&;, BigInt)
下面是重載為非成員函數的運算符的函數原型,其中錯誤的是()。
A.BigInt operator +(BigInt, BigInt)
B.BigInt&; operator =(BigInt&;, BigInt)
C.BigInt operator -(BigInt,BigInt)
D.BigInt&; operator *(BigInt, BigInt)
正確答案:BigInt&; operator =(BigInt&;, BigInt)