当前位置: X题卡 > 所有题目 > 题目详情

有以下结构体说明和变量定义,如图所示,指针p、q、r分别指向此链表中的三个连续节点。 struct node int data;struct node*next;*P,*q,*r; 现要将q所指...

查看本题答案

你可能感兴趣的试题

p->next=q->next;  r->next=p;  p->next=r;  r->next=q->next->next;  
q->next=r->next; p->next=r,r->next=q;  p->next=r,q->next=r->next;r->next=q;  q->next=r->next;r->next=q;p->next=r,  r->next=q;P->next=r;q->next=r->next;  
p->next=q->next;  p->next=p->next->next;  p->next=r;  p=q->next;  
r->next=q; q->next=r->next; p->next=r;  q->next=r->next; p->next=r; r->next=q;  p->next=r; q->next=r->next; r->next=q;  q->next=r->next; r->next=q; p->next=r;  
q->next=r->next;r->next=q;p->next=r;  q->next=r->next;p->next=r;r->next=q;  p->next=r;q->next=r->next;r->next=q;  r->next=q;q->next=r->next;p->next=r;  
p->next=q->next;  p->next=p->next->next;  p->next=r;  p=q->next;  
r->next=q; q->next=r->next; p->next=r;  q->next=r->next; p->next=r; r->next=q;  p->next=r; q->next=r->next; r->next=q;  q->next=r->next; r->next=q; p->next=r;  
r->next=q; q->next=r->next; p->next=r;  q->next=r->next; p->next=r; r->next=q;  p->next=r; q->next=r->next; r->next=q;  q->next=r->next; r->next=q; p->next=r;  
q->next=r->next;p->next=r;r->next=q;  p->next=r;q->next=r->next;r->next=q;  q->next=r->next;r->next=q;p->next=r;  r->next=q;p->next=r;q->next=r->next;  

热门试题

更多