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 infinite loop?

1086


What is function in c with example?

1156


What are the different types of linkage exist in c?

1033


When is a void pointer used?

1241


Is c is a middle level language?

1068


What is c language & why it is used?

1113


What does c mean before a date?

1182


Why can't I perform arithmetic on a void* pointer?

1096


How can a string be converted to a number?

1022


How many types of operator or there in c?

1099


How do I convert a string to all upper or lower case?

1120


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1069


I came across some code that puts a (void) cast before each call to printf. Why?

1220


Explain the difference between structs and unions in c?

1027


What is variable initialization and why is it important?

1257