please tell me the logic for this C program :
INPUT (string):ABCD
OUTPUT :BCDA
CDAB
DABC
Answers were Sorted based on User's Feedback
What is merge sort in c?
Write a program to print the prime numbers from 1 to 100?
Explain what does the format %10.2 mean when included in a printf statement?
Is main an identifier in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort
In C language what is a 'dangling pointer'?
what are the different storage classes in c?
helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe
What is a loop?
What is storage class?
How can you determine the maximum value that a numeric variable can hold?