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...


Write a function expand(s1,s2) that expands shorthand
notations like a-z in the string s1 into the equivalent
complete list abc...xyz in s2 . Allow for letters of either
case and digits, and be prepared to handle cases like a-b-c
and a-z0-9 and -a-z.
z-a:zyx......ba
-1-6-:-123456-
1-9-1:123456789987654321
a-R-L:a-R...L
a-b-c:abbc


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Which weighs more, a gram of feathers or a gram of gold?

2 Answers  


N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3

3 Answers   Honeywell,


write a program for odd numbers?

15 Answers  


How do you determine a file’s attributes?

0 Answers  


macros and function are related in what aspect? a)recursion b)varying no of arguments c)hypochecking d)type declaration

12 Answers   HCL, Infosys, Microsoft,


what is the advantage of using SEMAPHORES to ORDINARY VARIABLES???

2 Answers   NSN,


How can I remove the trailing spaces from a string?

0 Answers   Aspire,


What is the use of ?: Operator?

0 Answers  


What is the purpose of main( ) in c language?

0 Answers  


What is the difference b/w Structure & Array?

6 Answers  


How can you increase the size of a dynamically allocated array?

0 Answers   TISL,


Write a program to generate the Fibinocci Series

0 Answers   TISL,


Categories