#include运行结果:#include struct stu_informa { int id; char name[20]; int sore; }; void struct_input(struct stu_informa stu[],int n) { int i; for(i=0;i stu[j+1].sore) { temp=stu[j]; stu[j]=stu[j+1]; stu[j+1]=temp; } } } } void test(void) { struct stu_informa stu[3]; struct_input(stu,3); struct_paixu(stu,3); struct_print(stu,3); } int main() { test(); return 0; }



