摘要:
PART 1 结构体类型及编程应用 1-2 #include <stdio.h>#include <string.h>const int N = 10; // 定义结构体类型struct student,并定义其别名为STU typedef struct student { long int id; 阅读全文
摘要:
part 1 运行结果 part 2 sizeof是c语言中的运算符,用于计算数据占用的字节数。表达式sizeof(a) / sizeof(a[0])用于计算数 组元素的个数。 part 3 part 4 函数声明和函数定义中,作为形式参数时数组名后面要加[ ] 函数调用中,实际参数直接写数组名,不 阅读全文