链表结构的定义-预习2-结构体

时间:2021-04-23 12:05:31
【文件属性】:
文件名称:链表结构的定义-预习2-结构体
文件大小:563KB
文件格式:PPT
更新时间:2021-04-23 12:05:31
结构体 链表结构的定义 struct student {char name[10]; struct student *next; }; next为struct student类型指针变量,指向下一个结点。 结点的变量或指针变量的定义: struct student node,*head; node可以存放一个学生结点 指针head可以存放学生结点的地址。

网友评论