please tell me the logic for this C program :
INPUT (string):ABCD
OUTPUT :BCDA
CDAB
DABC
Answers were Sorted based on User's Feedback
which is the best site or book for learning C...and i need the content for C..how to get the good programming skills....? can plz suggest me....
what will happen if you free a pointer twice after allocating memory dynamically ?
How do we declare variables in c?
Write a program to print “hello world” without using semicolon?
Can we replace the struct function in tree syntax with a union?
c pgm count no of lines , blanks, tabs in a para(File concept)
what is use of loop?
write a function that accepts an array A with n elements and array B with n-1 elements. Find the missing one in array B,with an optimized manner?
what is the difference between c and c++?
What are header files in c?
what are the 10 different models of writing an addition program in C language?
Can we assign integer value to char in c?