#include "stdafx.h"#include"stdio.h"#include"malloc.h"#define NULL0#define LEN sizeof(struct student)struct student{int num;char name[20];char sex;int age;struct student *next;};int n;struct student *creat(void){struct student *head;struct student *p1,*p2;n=0;p1=p2=(struct student*) malloc(LEN)...
题目:建立一个链表,每个结点包括:学号,姓名,性别,年龄。输入一个年龄,如果链表中的所包含年龄等于此年龄,则将此结点删除。
#include "stdafx.h"#include"stdio.h"#include"malloc.h"#define NULL0#define LEN sizeof(struct student)struct student{ int num; char name[20]; char sex; int age; struct student *next;};int n;struct student *creat(void){ struct student *...