#include <stdio.h> #include <stdlib.h> typedef struct node{ int data; struct node* next; } node; //头结点 node* creatnode(int val){ node *p = (node*)malloc(sizeof(node)); if(p == NULL) { return NULL; } p->data = val; p->next = NULL; return...