表上的结点的数据结构定义如下:struct node{ int x; struct node *next;};函数create的功能是:创建一个有序的(节点中x的值按升序排列),中节点的个数为参数n的值,函数返回该有序的头指针。算法思想如下:每产生一个新节点,插入到中的恰当位置,使得插入新节点后的仍然保持有序。______________creat(int n){ Struct node *p, 8p1, *p2, *h =NULL; int I = 0; if(n<1) return NULL; while(____________) { p = (struct node*)malloc (sizeof(struct node)); cin>>p->x; p->next = NULL; if (h==NULL) ___________________; else { p1=p2 = h; while(p2&&p->x=p2->x) { p1 = p2; p2= p2->next;} if(p2==h) {______________; h=p;} else{p->next = p2; p1->next = p;}}i++;}return h;}