C Primer Plus(第6版)第六章編程練習答案

6.16編程練習 /* 編寫一個程序,建立一個包含26個元素的數組,並在其中存儲26個小寫字母。 而後打印數組的全部內容 */ #include <stdio.h> #define SIZE 26 int main(void) { char alphabet[SIZE]; int index; for (char ch = 'a', index = 0; ch <= 'z'; ch++, i
相關文章
相關標籤/搜索