高普考題庫
100 年 100年公務人員高等考試三級考試暨普通考試・程式語言
申論 3若1 個字元占用1 個位元組(byte),以下程式中p 的位址是OX71F21D,陣列t的起始位址是OX31C51C,則程式執行結果為何?(16 分)void main(){char t[7]={ ’d’, ’r’, ’a’, ’g’, ’o’, ’n’, ’\0’};char *p;p=t;p++;printf(“%X\n“,&p);printf(“%c\n“,*p);(*p)++;printf(“%c\n“,t[1]);printf(“%X\n“,&t[3]);}年公務人員高等考試三級考試試題代號:類 科: 資訊處理科 目: 程式語言