摘要: #include <stdio.h> #include <malloc.h> /** * 1.定义一个值传递函数 * @param a 变量值 * @param b 变量值 */ void swap_value(int a , int b){ int temp; temp =a; a=b; b=te 阅读全文
posted @ 2024-06-28 22:55 成强 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <malloc.h> int main() { /*创建静态数组*/ int a[5]; a[0]=0; a[1]=1; int b[]={1,2,3,4}; typedef struct Student{ int age; }Student; 阅读全文
posted @ 2024-06-28 21:50 成强 阅读(3) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> int main() { /*定义一个结构体*/ struct Student{ int age; short name; }; /*使用这个结构体定义一个新的变量*/ struct Student chengqiang; /* typedef:给数据类型起一个 阅读全文
posted @ 2024-06-28 21:41 成强 阅读(5) 评论(0) 推荐(0) 编辑
摘要: illustrate :v.说明,举例 defective :adj.有缺陷的 perfect :adj.完美的 mortality :n.死亡 universal :adj.普遍的 fierce :adj.激烈的 widespread :adj.普遍的 pour :v.倾泻 leakage :n泄 阅读全文
posted @ 2024-06-28 00:04 成强 阅读(4) 评论(0) 推荐(0) 编辑