4768| 2
|
单链表 如何 逆序 输出 |
15鱼币
最佳答案# include
# include
struct node
{
int data;
struct node *next;
};
void digui(struct node* head)
{
if(head == NULL)
return;
if(head->next != NULL)
digui(head->next);
printf("%d ",head->data);
}
int main()
{
struct node *head,*p,*q,*t;
int i,n,m,a,b;
scanf("%d",&n);
head=NULL;
for(i=1;idat ...
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
| ||
小甲鱼最新课程 -> https://ilovefishc.com
|
||
小黑屋|手机版|Archiver|鱼C工作室
( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)
GMT+8, 2025-5-13 12:57
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.