在有序鏈表中插入一個數,使其仍然有序(C語言)

#include<stdio.h> #include<stdlib.h> typedef struct node{ int data; struct node *next; }linklist; linklist *createList(){ linklist *head,*p,*q; int x; scanf("%d",&x); p=(linklist *)malloc(si
相關文章
相關標籤/搜索