c++ - Questions about linear tables
过去多啦不再A梦
过去多啦不再A梦 2017-06-10 09:48:34
0
1
708

typedef struct Node{
ElemType e;
struct Node *next;
} Node, *LinkList;

Status GetElem(LinkList L,int i,ElemType *e) {
LinkList p;
p = L->next;
}
Why does p here point to the Lth A node, this L is Node *L, then the content it points to should also be a node. Why is the next of this node L the first node in the linked list where this node is located?

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
大家讲道理

Please pay attention to distinguish the head node and the first node. L is the head node, p is the first node, refer to Baidu Encyclopedia: http://baike.baidu.com/item/%...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template