Interview Question of the day : Print all permutations of characters of a string

Print all character permutations of a string.