【文件属性】:
文件名称:单链表(C语言版)
文件大小:683B
文件格式:C
更新时间:2015-11-01 07:18:05
数据结构 链表 C语言
对单链表操作
#include
#include
struct LNode
{
int data;
struct LNode *next;
};
struct LNode *create(int n)
{
int i;
struct LNode *head,*p1,*p2;
head=(struct LNode*)malloc(sizeof(struct LNode));
head->data=0;
head->next=NULL;
。。。。。