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

How to Throw some light on the splay trees?

1066


What is a void pointer? When is a void pointer used?

1064


1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2156


What does %p mean c?

1073


Explain how can I pad a string to a known length?

1198


write an algorithm to display a square matrix.

2713


Explain what is page thrashing?

1101


With the help of using classes, write a program to add two numbers.

1044


What type is sizeof?

1039


how can I convert a string to a number?

1084


What is #pragma statements?

1102


Can a pointer be null?

1036


How can I delete a file?

1067


How to explain the final year project as a fresher please answer with sample project

977


What are the two types of functions in c?

1017