建立一個鏈表,每個結點包括:學號、姓名、性別、年齡。輸入一個年齡,如果鏈表中的結點所包含的年齡等於此年齡,則將此結點刪去。

#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()  
相關文章
相關標籤/搜索