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
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
wat is output of the following int main() { const int j=2; int i; switch(i) { case 1:break; case j:break; default:break; } }
How can draw a box in cprogram without using graphics.h header file & using only one printf(); ?
write a program to display the array elements in reverse order in c language
What is the difference between text files and binary files?
Define and explain about ! Operator?
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
Can a binary search tree be used as an index? If yes, how? Explain
When should the register modifier be used? Does it really help?
Tell me the use of bit field in c language?
How can type-insensitive macros be created?
What are qualifiers in c?