please tell me the logic for this C program :
INPUT (string):ABCD
OUTPUT :BCDA
CDAB
DABC
Answers were Sorted based on User's Feedback
write a string copy function routine?
How can I do peek and poke in c?
write a program to check whether a given integer is a strong number or not? [Hint: 145=1!+4!+5! =1+24+120 =145]
#define d 10+10 main() { printf("%d",d*d); }
WHAT IS ABSTRACT DATA TYPE
what type of questions arrive in interview over c programming?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
what is c++ programming?
How do I round numbers?
What is the difference between int main and void main?
What are the different types of constants?
write a program that explain #define and # undef directive