不挂科搜题免费

问题:

编写函数,对字符数组中的字母按由大到小的字母顺序进行排序。

答案:

#include #include int main() { char a[100],temp; int i,j,k; scanf("%s",a); k=strlen(a); for(i=0;i