程序分析 利用选择法。即从后9个比较过程中,选择一个最小的与第一个元素交换,依次类推,即用第二个元素与后8个进行比较,并进行交换。 源代码 #include<stdio.h> #include<stdlib.h> int main() { int a[10] = { 0