Question: C Programing Q1) Write a code to print all permutations of a string that you should give from user using pointers. The permutations of string
C Programing
Q1) Write a code to print all permutations of a string that you should give from user using pointers.
The permutations of string abcare:
Abc , bac, acb, bca, cab, cba
Q2) Write a code to print the factorial of a number using pointers.
For example factorial of 5 is 120.
Q3) Write a code to print a given array in reverse order and then sort the numbers in original array. ( the given array should get from user)
For example:
Given array: 45 32 67 3 2
Reversed : 2 3 67 32 45
Sorted: 2 3 32 45 67
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
