05 2024 档案

摘要:#include <stdio.h> #define N 80 void encoder(char *str); // 函数声明 void decoder(char *str); // 函数声明 int main() { char words[N]; printf("输入英文文本: "); gets 阅读全文
posted @ 2024-05-20 23:01 张颖雯 阅读(36) 评论(0) 推荐(0)
摘要:#include <stdio.h> #define N 4 void test1() { int a[N] = {1, 9, 8, 4}; int i; // 输出数组a占用的内存字节数 printf("sizeof(a) = %d\n", sizeof(a)); // 输出int类型数组a中每个 阅读全文
posted @ 2024-05-15 23:35 张颖雯 阅读(36) 评论(0) 推荐(0)