C 語言屬於通用目的(General-purpose)的程式語言,可以用來建立各式各樣的程式應用,也相當適合於系統程式的開發。試問其參數傳遞係採取何種方式?
(A)傳址呼叫(call-by-address)
(B)傳值呼叫(call-by-value)
(C)傳值結果呼叫(call by value-result)
(D)傳名呼叫(call-by-name)
下列以C 程式語言撰寫之程式執行後產生之輸出為何?
(A)3
(B)6
(C)9
(D)15#define DOUBLE(x) 2*x#define PRINT(int) printf(“int=%d\n", int)#include<stdio.h>main(){ int m1=1, m2=3;m1= DOUBLE(m1+m2);PRINT(m1);}#include<stdio.h>main(){ int x = 9, y = 6; x = (y += x – = y) – x; printf(“%d\n", y);}40302010nextprevHeadTail3056105281729850abcdefgustv w
資料庫設計分成三個層次,下面那一個不屬於此三層次?
(A)中介資料庫設計(Middle-ware DB design)
(B)邏輯資料庫設計(Logical DB design)
(C)實體資料庫設計(Physical DB design)
(D)觀念性資料庫設計(Conceptual DB design)#include<stdio.h>main(){ int m1=123, m2=5;do{m1%= m2;}while(m2--);printf(“%d\n",m1);}#include<stdio.h>main(){ int x = 0; x = -5 + 7 % 4 * 3+1; printf(“%d\n", x);}