/* * C++ Program to Find the Number of Permutations of a Given String */ #include #include #include using namespace std; void swap (char *x, char *y) { char temp; temp = *x; *x = *y; *y = temp; } void permute(char *a, int i, int n) { int j; if (i == n) { cout<