11 2023 档案
摘要:Task1_1 1 #include <stdio.h> 2 #define N 4 3 void test1() { 4 int a[N] = {1, 9, 8, 4}; 5 int i; 6 // 输出数组a占用的内存字节数 7 printf("sizeof(a) = %d\n", sizeof
阅读全文
摘要:Task2_2 1 // 练习:局部static变量特性 2 #include <stdio.h> 3 int func(int, int); // 函数声明 4 int main() { 5 int k = 4, m = 1, p1, p2; 6 p1 = func(k, m); // 函数调用
阅读全文
浙公网安备 33010602011771号