阿摩線上測驗
登入
首頁
>
學士後西醫◆計算機概論與程式設計
>
111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521
> 試題詳解
75. What expression should be in "Ccc"?
(A) x
(B) x->next
(C) y->next
(D) first
(E) *pfirst
答案:
登入後查看
統計:
A(1), B(1), C(4), D(0), E(1) #3081405
詳解 (共 1 筆)
MoAI - 您的AI助手
B1 · 2025/11/14
#7092067
1. 題目解析 這道題目是關於單向鏈表...
(共 1023 字,隱藏中)
前往觀看
0
0
相關試題
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
80. Consider the following C code fragment: int x=38; int *p=&x;Which of the following code will output 38? (A) printf("%d" , (B) printf("%d" , *&p) ; (C) printf("%d" , *&x) ; (D) printf("%d" , &*x); (E) None of the above
#3081410
81. Which of the following C statements is incorrect? (A) typedef enum {Spade, Heart, Diamond, Club }; (B) typedef enum {Spade, Heart, Diamond, Club }Suit; (C) enum{Spade, Heart, Diamond, Club } suit; (D) enum suit {Spade, Heart, Diamond, Club }; (E) None of the above
#3081411
82. Suppose the output of the following C code fragment is 0xffff00003a04: int x=38; int *p=&x;printf("%p", p);What is the output of 「printf("%p" , p+3) ;」 ? (A) 0xffff00003a04 (B)0xffff00003a07 (C) 0xffff00003a10 (D) 0xffff00003a16 (E) None of the above
#3081412
83. If the line: friend class A;appears in class B, and the line:friend class B;appears in class C, then: (A) Class A is a friend of class C. (B) Class A can access private variables of class B. (C) Class C can access private variables of class B. (D) Class C can call class A's private member functions. (E) Class B can access class A's private variables.
#3081413
84. Since the postfix increment operator returns objects by value and the prefix increment operator returns objects by reference: (A) Prefix increment has slightly more overhead than postfix increment. (B) The postfix increment operator returns the actual incremented object with its new value. (C) Objects returned by postfix increment cannot be used in larger expressions. (D) Postfix increment cannot be used in larger expressions. (E) The postfix increment operator typically returns a temporary object that contains the original value of the object before the increment occurs.
#3081414
85. virtual destructors must be used when: (A) The constructor in the base class is virtual. (B) delete is used on a base-class pointer that points to a derived-class object. (C) delete is used on a derived-class object. (D) Every member function of the base class is virtual . (E) Every data member of the base class is virtual .
#3081415
相關試卷
114年 - 114 學士後醫學系招生考試試題:計算機概論與程式設計#137105
2025 年 · #137105
113年 - 113 學士後醫學系招生考試試題:計算機概論與程式設計#119574
2024 年 · #119574
112年 - 112 學士後醫學系招生考試試題:計算機概論與程式設計#137106
2023 年 · #137106
111年 - 111 學士後醫學系招生考試試題:計算機概論與程式設計#137107
2022 年 · #137107
111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521
2022 年 · #113521
111年 - 111 學士後醫學系招生考試:計算機概論與程式設計#107630
2022 年 · #107630
110年 - 110 學士後_醫學系︰計算機概論與程式設計#100246
2021 年 · #100246
109年 - 109 高雄醫學大學_學士後醫學系招生考試:計算機概論與程式設計#86938
2020 年 · #86938