执行下列语句后指针及链表的示意图为(43)。L = (LinkList) malloc ( sizeof (LNode) );P = L;for(
执行下列语句后指针及链表的示意图为(43)。
L = (LinkList) malloc (sizeof (LNode) );
P = L;
for(i =0;i <=3;i ++) {
P→next = (LinkList) malloc (sizeof (LNode));
P = P→next;
P→data = i * i + 1;
}
A..jpg)
B..jpg)
C..jpg)
D..jpg)
请帮忙给出正确答案和分析,谢谢!