摘要:
test_1 #include<stdio.h> #define N 4 #define M 2 void test_1() { int x[N] = {1, 9, 8, 4}; int i; printf("sizeof(x) = %d\n", sizeof(x));//数组x占用的内存字节数 f 阅读全文
摘要:
task_1 #include<stdio.h> char score_to_grade(int score) { char answer; switch(score/10) { case 10:answer = 'A';break; case 9:answer = 'A';break; case 阅读全文
摘要:
task_1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 397 #define N2 476 #define N3 21 int main() { int cnt; int rand 阅读全文