Print all permutation in lexicographic order Print all permutation in lexicographic order c c