05 2024 档案

摘要:task1-1 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax 阅读全文
posted @ 2024-05-24 19:21 王彦晴 阅读(18) 评论(0) 推荐(0) 编辑
摘要:#include <stdio.h> #define N 4 void test1() { int a[N] = {1, 9, 8, 4}; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %d\n", sizeof(a)); // 输出int类型数组a中每个 阅读全文
posted @ 2024-05-17 18:05 王彦晴 阅读(14) 评论(0) 推荐(0) 编辑