NCR function
Write a program in C which will print all the possible combination of a given word. E.G. if the word is ABCD then the output should be ABCD, ABDC, ACBD, ACDB, ADBC, ADCB, BACD, BADC, BCAD, BCDA, BDAC, BDCA, CABD, CADB, CBAD, CBDA, CDAB, CDBA, DABC, DACB, DBAC, DBCA, DCAB, DCBA,
but the number of letters of the input must not be fixed i.e. the program should run well for any number of letters.
Questions by megh_dut2008
Showing Answers 1 - 2 of 2 Answers
Related Answered Questions
Related Open Questions
NCR function
but the number of letters of the input must not be fixed i.e. the program should run well for any number of letters.
Profile Answers by megh_dut2008 Questions by megh_dut2008
Questions by megh_dut2008
Related Answered Questions
Related Open Questions