06 2022 档案

摘要:1 #include <stdio.h> 2 #define N 4 3 4 int main() 5 { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 int *p; 9 10 // 方式1:通过数组名和下标遍历输出数组元素 11 for(i=0; i<N; ++i) 阅读全文
posted @ 2022-06-13 21:46 映月三花 阅读(19) 评论(2) 推荐(0)
摘要:task1-1 1 #include <stdio.h> 2 #define N 5 3 #define M 80 4 typedef struct 5 { 6 char name[M]; 7 char author[M]; 8 }Book; 9 int main() 10 { 11 Book x[ 阅读全文
posted @ 2022-06-06 21:54 映月三花 阅读(23) 评论(2) 推荐(0)