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


Please Help Members By Posting Answers For Below Questions

What is main function in c?

553


When should the volatile modifier be used?

689


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

639


code for find determinent of amatrix

1521


What are run-time errors?

604






How can I make it pause before closing the program output window?

585


What is a stream water?

663


Explain how do you declare an array that will hold more than 64kb of data?

908


What is the package for freshers(Non IIT) in amazon(hyderabad). And what is the same for those who are a contract employee.

3737


What are the modifiers available in c programming language?

745


What is int main () in c?

632


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

764


How do I get an accurate error status return from system on ms-dos?

653


How does #define work?

654


define string ?

673