C数据结构之双链表详细示例分析
代码如下: typedef struct node{ struct node *prior; struct node *next; int num;}NODE;/*******双向链表的初始化********/NODE *Init_link(void){ int i; NODE *phead,*pb,*pi; phead = (NODE *)malloc(sizeof(NODE)); printf(“please input num:\n”); scanf(“%d”,&(phead->num)); phead->p