write c program for all permutation of a string using backtracking.

Permutation means all possible re-arrangements of a collection of objects, where the order is important. for example {a,b,c} can be arranged like {a,b,c} {a,c,b} {b,a,c} {b,c,a} {c,a,b} {c,b,a}. If the order does not important, it is a combination. The previous blog post for permutation of a string is discussed at http://wikistack.com/write-a-c-program-for-printing-all-permutation-of-a-string/. This implementation is different.

permutation of a string using backtracking

c program for permutation of a string using backtracking

Ref:

https://en.wikipedia.org/wiki/Permutation