[填空题] 下面函数将指针p2所指向的线性链表串接到p1所指向的链表的末端。假定p1所指向的链表非空。请填空。#define NULL 0struct link float a;str

[填空题] 下面函数将指针p2所指向的线性链表串接到p1所指向的链表的末端。假定p1所指向的链表非空。请填空。#define NULL 0struct link float a;str,第1张

[填空题] 下面函数将指针p2所指向的线性链表串接到p1所指向的链表的末端。假定p1所指向的链表非空。请填空。 #define NULL 0 struct link float a; str

[填空题] 下面函数将指针p2所指向的线性链表串接到p1所指向的链表的末端。假定p1所指向的链表非空。请填空。

#define NULL 0

struct link

float a;

struct link *next;

concatenate (p1,p2)

struct list *p1,*p2;

if(p1->next==NULL)

p1->next=p2;

else

concatenate(______,p2);

正确答案:

p1->next

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5570550.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-14
下一篇 2022-12-14

发表评论

登录后才能评论

评论列表(0条)

保存