#include <stdio.h> #include <stdlib.h> typedef struct node { char name[20]; struct node *prior, *next; } stud; stud* creat( int n ) { stud *p, *h, *s; int i; h = (stud *) malloc( sizeof(stud) ); h->name[0] = '