使用函数的选择法排序 本题要求实现一个用选择法对整数数组进行简单排序的函数。 函数接口定义: void sort( int a[], int n ); 其中a是待排序的数组,n是数组a中元素的个数。该函数用选择法将数组a中的元素按升序排列,结果仍然在数组a中。 输入样例: 4 5 1 7 6 输出样例: After sorted the array is: 1 5 6 7 #include <stdio.h> #define MAXN 10 void sort( int a[], int n ); int main() { int i, n; int<