打印单链表 cxzxy 2022-04-14 56 阅读1分钟 输出单链表 void PrintList(LinkList &L) { LinkList p = L->next; while(p) { cout<<p->data<<" "; p = p->next; } }