I need to take a sentence from input and sort the words
alphabetically using the C programming language.
Note: This is C not C++.
qsort and strtok not allowed
Answer Posted / chumurva
its working but not correct.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain what is the heap?
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
What are the string functions? List some string functions available in c.
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
How many main () function we can have in a project?
List the difference between a "copy constructor" and a "assignment operator"?
Is there a way to compare two structure variables?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What is operator precedence?
what is different between auto and local static? why should we use local static?
Write a C program in Fibonacci series.
If null and 0 are equivalent as null pointer constants, which should I use?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
Subtract Two Number Without Using Subtraction Operator
How can you check to see whether a symbol is defined?