q->next = p; 表示将节点p加入到节点q之后。具体的意思可以参考如下的图形表示:节点q----->节点p一般链表的节点定义为:struct node{ int data; // 数据域 struct node *next; // 指针域};