/*使用尾插法建立单链表,并返回指向单链表的头结点的指针*/
Node *CreateAtTail(DataType a[],int n)
{
int i;
Node *first,*s,*r;
/************Begin******************/
first->next=
尾插法建立单链表educoder
最新推荐文章于 2024-03-21 04:52:51 发布
/*使用尾插法建立单链表,并返回指向单链表的头结点的指针*/
Node *CreateAtTail(DataType a[],int n)
{
int i;
Node *first,*s,*r;
/************Begin******************/
first->next=