#include <stdio.h> #include <stdlib.h> typedef struct node { int data; struct node* next; } node, *nptr; //创建链表 void create_Node(nptr headpin, int value) { nptr newnode = (nptr)malloc(sizeof(node));//创建新节点,返回指向新节点的指针 if (newnode == NULL) { return; // 内存分配失败,处理错误 } newnode->data = valu...