while(qa!=NULL){ qb1=qb2;if(qa->data<=qb2->data) //此处的qa=heada,而heada的data没有赋值,编译器{ while(qb2->next->data<=qa->next->data){ qb2=qb2->next; }