A simple program to calculate permutations of a string using recursion, I have used a malloc string of size 100 , you can change it to whatever value you want.
The author is currently working at Microsoft,any questions can be directed to [email snipped]