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
can we declare a function in side the structure?
pick out the odd one out of the following a.malloc() b.calloc() c.free() d.realloc()
What is the use of getchar functions?
What are external variables in c?
How will you allocate memory to a double pointer ?
char p="data"; printf(p);
How can a program be made to print the name of a source file where an error occurs?
What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none
write a c program for swapping two strings using pointer
how to find the binary of a number?
What is a structure and why it is used?
1 What is a Data Structure?