C 语言版 单向链表 #include #include typedef struct student { int num; struct student *next; }st; st *creat() //创建链表 { st *head , *tail , *p; int num = 0; head = tail = p = NULL; printf ( " 请输入您要创建的链表,以回车分隔,输入0结束\n" ); scanf ( "%d" , &num );