Q13 Write a program to generate all combinations of 1, 2 and 3 using for loop.
Program: 106
Write a c program to generate all combinations of 1, 2 and 3 using for loop.
Output:
123
132
213
231
312
321
Write a c program to generate all combinations of 1, 2 and 3 using for loop.
123
132
213
231
312
321