CodePudding user response:
Here is the reference program, hope to get your approval
Typedef struct LNode {
ElemType data;
Struct LNode * next;
} LNode * LinkList;
Typedef void Status;
The Status GetElem_L (int I LinkList L, ElemType * e) {
If (L==NULL) {
* e=NULL;
return;
}
While (I!=0 & amp; & L!=NULL) {
L=L - & gt; Next;
- I;
}
* e=L;
}
CodePudding user response:
Crab crab!CodePudding user response:
Write about yourself first, there is a problem to ask ~ again