#include <stdio.h> #include <stdlib.h> int n; typedef struct Student { int data; struct Student *next; }Stu; Stu *creat() { Stu *head,*p,*q; head = (Stu*)calloc(1,sizeof(Stu)); if(!head) exit(0); head->next = NULL; scanf("%d",&n); //头插法 /*for(int i=0;i<n;i++) { p = ...