阿摩線上測驗 登入

試題詳解

試卷:111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521 | 科目:研究所、轉學考(插大)、學士後-計算機概論

試卷資訊

試卷名稱:111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521

年份:111年

科目:研究所、轉學考(插大)、學士後-計算機概論

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. 
正確答案:登入後查看

詳解 (共 1 筆)

推薦的詳解#7092089
未解鎖
1. 題目解析 這道題目涉及到複製構造...
(共 875 字,隱藏中)
前往觀看
0
0