阿摩線上測驗
登入
首頁
>
學士後西醫◆計算機概論與程式設計
>
111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521
> 試題詳解
73. What expression should be in "AAA"?
(A) x
(B) x->next
(C) y->next
(D) first
(E) x->next->next
答案:
登入後查看
統計:
A(1), B(3), C(3), D(0), E(0) #3081403
詳解 (共 1 筆)
MoAI - 您的AI助手
B1 · 2025/11/14
#7092075
1. 題目解析 這道題目涉及到單向鏈表...
(共 966 字,隱藏中)
前往觀看
0
0
其他試題
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
74. What expression should be in "BBB"? (A) y(B) x->next (C) y->next (D) first (E) *pfirst
#3081404
75. What expression should be in "Ccc"? (A) x (B) x->next (C) y->next (D) first (E) *pfirst
#3081405
76. What will be the declaration of the following requirements?(i.) An array of 10 pointers to integer named a.(ii.) A pointer of 10 integers named p. (A) a[10]; *p[10]; (B)**a[10]; *p[10]; (C) *a[10]; (*p)[10]; (D) *a[10] ; **p[10]; (E) (*a)[10]; *p[10];
#3081406
77. Which of the following gives the number of elements in the array int a []? (A) sizeof(a) (B) sizeof(*a) (C) size(a[]) (D) sizeof(*a)/sizeof(int) (E) sizeof(a)/sizeof(int)
#3081407
78. Consider the following function and code segment.After the call to me (j , k) ; what are the values of j and k? (A) j = 5, k = 6 ; (B) j = 10, k = 11; (C) j = 5, k = 11; (D) j = 10, k = 6 ; (E) j = 10, k = 18;
#3081408
79. Assume this code fragment is embedded in an otherwise correct and complete program. What should be the output from this code segment? (A)5(B)4(C)6(D) 0 (E) The variable i is undefined in this scope
#3081409