問題詳情

63. A copy constructor must receive its argument by reference instead of by value because:
(A) Otherwise the constructor will only make a copy of a pointer to an object.
(B) The copy of the argument passed by value has function scope.
(C) The pointer needs to know the address of the original data, not a temporary copy of it.
(D) Otherwise infinite recursion occurs.
(E) Otherwise the constructor will never be called.

參考答案

答案:D
難度:計算中-1
書單:沒有書單,新增