简单选择排序算法的基本思想就是在数组中每次利用第n此循环中的n-i+1个记录中的最小数拿出来有序排序 #include <stdio.h> #include<stdlib.h> void main() { int a[10] = { 5,67