摘要:
实验任务4 #include <stdio.h> int main(){ int x=0,y=1;char c; FILE *fp; fp=fopen("data4.txt","r"); if(fp == NULL) { printf("fail to open file to read\n"); 阅读全文
摘要:
实验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); i 阅读全文
摘要:
实验任务1 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; printf("sizeof(x) = %d\n", sizeof(x)); for (i = 0; i < 阅读全文