建立一个链表,每个结点包括:学号、姓名、性别、年龄。输入一个年龄,如果链表中的结点所包含的年龄等于此年龄,则将此结点删去。

#include <stdio.h> #include <malloc.h> #define LEN sizeof(struct student)  struct student  {      int num;      char name[8];      char sex;      int age;      struct student * next;  };  int main()  
相关文章
相关标签/搜索