
Write a program that prints every permutation of one string argument.
./lex_permutations cab | cat -eabc$
acb$
bac$
bca$
cab$
cba$./lex_permutations m | cat -em$lex_permutations.cwriteputsmalloccallocreallocfree
Run the tests to grade your code
Write a program that prints every permutation of one string argument.
./lex_permutations cab | cat -eabc$
acb$
bac$
bca$
cab$
cba$./lex_permutations m | cat -em$lex_permutations.cwriteputsmalloccallocreallocfree
Run the tests to grade your code
Memory will appear here