Description
下面程序创建两个链表,然后将第二个链表合并到第一个链表未尾,但合并部分的代码未完成,请你完成这部分代码。
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#define LEN sizeof(struct student)
struct student//声明结构体类型struct student
{
long num;//定义学生编号
int score;//定义学生成绩
struct student *next;//创建指针
};
struct student *create(int n)//定义create函数
{
struct student *head=NULL,*p1=NULL,*p2=