随笔分类 -  考研

摘要:单链表的创建:头插法 #include <stdio.h> #include <malloc.h> #include <stdbool.h> typedef int ElemType; /*定义一个单链表*/ typedef struct LNode{ ElemType data; /*下一个元素的 阅读全文
posted @ 2024-06-30 00:14 成强 阅读(15) 评论(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 成强 阅读(7) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示