*head=&a;a.next=&b;和p->next=q分别是什么意思,有什么区别.
人气:236 ℃ 时间:2020-04-10 04:27:05
解答
a指向的是头指针,b是首指针,是指针链中第一个指针.
p->next=q意思是q是p的下一个指针而已.
推荐
- head->next!=p与head=p的区别
- 答案是p->next=head 还是p->next!=head
- 带头单链表逆置,下面程序有错吗?p=head->next;q=p->next;什么意思?
- ctstudent*head,intagp1=p->next;for(b=3;b
- p=head=new AB; head->next=NULL; q=new AB;p->next=q; p=q; q->next=NULL; q=new AB;
- 钢板20*2200*L中字母L表示什么
- 穿井得人之,道,于,令,之,于,对,之,使,于字的意思
- 电路中电阻R1和R2串联,R1=12欧,R2=24欧,电源电压U=48V
猜你喜欢