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?
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/%...