06 2022 档案

摘要:#include <stdio.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; // 方式1:通过数组名和下标遍历输出数组元素 for(i=0; i<N; ++i) printf("%d", x[i]); pri 阅读全文
posted @ 2022-06-13 16:23 jackytherui 阅读(26) 评论(0) 推荐(0)
摘要:#include<stdio.h> #define N 5 #define M 80 typedef struct { char name[M]; char author[M]; }Book; int main() { Book x[N]= {{"一九八四","乔治.奥威尔"}, {"美丽新世界", 阅读全文
posted @ 2022-06-07 00:41 jackytherui 阅读(54) 评论(0) 推荐(0)