写一个函数,输出字符串中字符的所有排序.(比如:abc acb bac bca cab cba )

发布时间:2021-02-21 15:49:57

写一个函数,输出字符串中字符的所有排序.(比如:abc acb bac bca cab cba )

网友回答

#include
#include
Permutation(char a[],int start,int end)
{int i,j;
char temp;
if(start == end)
{for(i = 0; i
以上问题属网友观点,不代表本站立场,仅供参考!