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-27 12:58 中年男士 阅读(12) 评论(0) 推荐(0)
摘要:task1.c 1 void test1() { 2 int a[N] = { 1, 9, 8, 4 }; 3 int i; 4 5 // 输出数组a占用的内存字节数 6 printf("sizeof(a) = %d\n", sizeof(a)); 7 8 // 输出int类型数组a中每个元素的地址 阅读全文
posted @ 2024-05-19 21:32 中年男士 阅读(11) 评论(0) 推荐(0)