04 2025 档案

摘要:1 `#include <stdio.h> define N 4 define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", sizeof(x)); // 阅读全文
posted @ 2025-04-19 21:39 Leo48 阅读(8) 评论(0) 推荐(0)
摘要:1 `#include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score_to 阅读全文
posted @ 2025-04-07 18:17 Leo48 阅读(14) 评论(0) 推荐(0)