摘要:
任务1 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; printf("sizeof(x) = %zu\n", sizeof(x)); for (i = 0; i < 阅读全文
摘要:
任务一 #include <stdio.h>#include <stdlib.h>#include <time.h> #define N 5 int main() { int number; int i; srand(time(0)); // 以当前系统时间作为随机种子 for(i = 0; i < 阅读全文