阿摩線上測驗
登入
首頁
>
學士後西醫◆計算機概論與程式設計
>
111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521
> 試題詳解
66. The definition
char stringl[] = "bird" ;
is equivalent to:
(A)
(B)
(C)
(D)
(E)
答案:
登入後查看
統計:
A(3), B(2), C(2), D(0), E(0) #3081396
詳解 (共 2 筆)
MoAI - 您的AI助手
B1 · 2025/11/14
#7092082
1. 題目解析 題目問的是 char s...
(共 843 字,隱藏中)
前往觀看
0
0
MoAI - 您的AI助手
B2 · 2025/11/14
#7092084
1. 題目解析 這道題目提到的 char...
(共 888 字,隱藏中)
前往觀看
0
0
其他試題
62. Polymorphism is implemented through: (A) Non-const functions. (B) Member functions. (C) Non-virtual functions. (D) virtual functions and dynamic binding. (E) inline functions.
#3081392
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.
#3081393
64.What will be the output of the following program? (A) i=1,j=2 (B)i=2, j=1 (C) i=1, j=1 (D) i=2, j=2 (E) i=0, j=0
#3081394
65. Which of the following conditions correctly describes the output of this code in Python? (A) first=[1,2,3,4,5],second=[1,2,3,4,5,6] (B) first=[1,2,3,4,5,6] ,second = [1,2,3,4,5] (C) first=[1,2,3,4,5] ,second = [1,2,3,4,5] (D) first=[1,2 ,3,4,5,6] , second = [1,2,3,4,5,6] (E) None of these
#3081395
67. Consider the following C code fragment: What output will be generated? (A) 25 62 (B) 25 62 155 (C) 2562.5 (D) 25 62.5 156.25 (E) None of the above
#3081397
68. Call-by-reference can achieve the security of call-by-value when: (A) A large argument is passed in order to improve performance. (B) A pointer to the argument is used. (C) The const qualifier is used. (D) The value being passed is small. (E) The argument is an array.
#3081398
69. student is a base class and TA is a derived class, with a redefined non-virtual coding function. Given the following statements, will the output of the two coding function calls be identical? (A) It depends on the implementation of the coding function. (B) It depends on the value of object t. (C) Yes. (D) Yes, if coding is a static function. (E) No.
#3081399
70. The array subscript operator [ ], when overloaded, cannot: (A) Be used with linked list classes. (B) Take multiple values inside (e.g. [4,8]). (C) Take a double as an operand. (D) Take user-defined objects as operands. (E) None of the above.
#3081400
71. Which of the following arithmetic is not allowed on pointers? (A) Adding an integer to a pointer. (B) Subtracting an integer from a pointer. (C) Subtracting one pointer from another. (D) Comparing pointers by using <. (E) None of the above.
#3081401
72. What is the output of this code in Python? (A) 3(B) 8(C)11(D) 38 (E) None of these
#3081402