写一个函数,输出字符串中字符的所有排序。(比如:abc acb bac bca cab cba )
方法1:#include #include void Permutation(char a[], int start, int end){int i,j;char temp;if(start == end){for(i = 0; i printf(" %c ",a[i]);printf("\n");}else{for(i = s