Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is difference between stdio h and conio h?

1335


Explain how do you list a file’s date and time?

1005


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1217


Explain what is a stream?

1047


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

1065


Which function in C can be used to append a string to another string?

1184


How variables are declared in c?

1007


How pointer is different from array?

1030


What is gets() function?

1088


What is #include stdio h and #include conio h?

1059


What is the use of bitwise operator?

1083


What's the difference between constant char *p and char * constant p?

1101


What are header files and what are its uses in C programming?

1157


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16631


WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

1995