阿摩線上測驗 登入

試題詳解

試卷:98年 - 臺北縣98 學年度國民中學正式教師暨教育部98 學年度國中#2185 | 科目:教甄◆電腦科專業

試卷資訊

試卷名稱:98年 - 臺北縣98 學年度國民中學正式教師暨教育部98 學年度國中#2185

年份:98年

科目:教甄◆電腦科專業

24. Procedure Modify 定義如下: procedure Modify (Y) Begin print the value of X; Y = 9; print the value of Y; End 假設X 是global variable,如果Modify 是call by reference,請問執行下列程式片段,會印出何值?(此三值以分號隔 開。) X = 5; Modify (X); print the value of X;
(A) 9;9;9
(B) 5;9;9
(C) 5;9;5
(D) 5;5;5
正確答案:登入後查看