高普考題庫
106 年 106年公務人員高等考試三級考試暨普通考試・計算機概要
24下列C程式中相同副程式被呼叫二次,程式執行結果為何?#include <stdio.h>void test(){static int A = 1;float B = 2.3;A = A * 2;B = B + 1.2;printf("%d / %2.1f / ", A, B);}int main() {test();test();return 0;}