scanf("%d",&p->num);scanf("%c",&c);p->next=new P;p=p->next;} p->next=NULL;printf("构建的链表次序为:\n");display();paixu();}