please tell me the logic for this C program :
INPUT (string):ABCD
OUTPUT :BCDA
CDAB
DABC
Answer Posted / rajan
Circular queue
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
What is difference between stdio h and conio h?
Explain how do you list a file’s date and time?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
Explain what is a stream?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
Which function in C can be used to append a string to another string?
How variables are declared in c?
How pointer is different from array?
What is gets() function?
What is #include stdio h and #include conio h?
What is the use of bitwise operator?
What's the difference between constant char *p and char * constant p?
What are header files and what are its uses in C programming?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..