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


Please Help Members By Posting Answers For Below Questions

What does typedef struct mean?

662


Why calloc is better than malloc?

572


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

656


What is pointer and structure in c?

574


What is output redirection?

692






Explain do array subscripts always start with zero?

761


Explain the use of keyword 'register' with respect to variables.

590


What is volatile variable in c?

658


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1480


What are the 4 data types?

601


Can you please explain the difference between exit() and _exit() function?

594


What is a union?

611


what will be maximum number of comparisons when number of elements are given?

1410


Differentiate between new and malloc(), delete and free() ?

675


What is int main () in c?

627