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 / naveen
Then which one is the answer. i think the above one works
perfectly and they both will yield you the same results
which you wanted.
is this a tricky qustion? if so whats the answer for this
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is quick sort in c?
What is C language ?
Do pointers store the address of value or the actual value of a variable?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
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. The Logic should be written in Data Structures?
What is the use of sizeof?
Write a program of advanced Fibonacci series.
What is the purpose of sprintf() function?
What are the different types of linkage exist in c?
Explain how can you be sure that a program follows the ansi c standard?
Explain the ternary tree?
What is cohesion in c?
What is the difference between a string and an array?
What is the use of static variable in c?
What are the advantages and disadvantages of a heap?