Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. Brian W. Kernighan
Write a program to print all the possible combination of given string.
The input string is : abc All possible combinations are : a ab abc ac b bc c