please tell me the logic for this C program :
INPUT (string):ABCD
OUTPUT :BCDA
CDAB
DABC
Answers were Sorted based on User's Feedback
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
How can type-insensitive macros be created?
how to make a scientific calculater ?
how do you redirect stdout value from a program to a file?
Linked lists -- can you tell me how to check whether a linked list is circular?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
How would you print out the data in a binary tree, level by level, starting at the top?
Explain how do you override a defined macro?
What does %c mean in c?
What is meant by inheritance?
Is c still used?
What are the functions to open and close the file in c language?