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 the stack in c?

707


What are the disadvantages of c language?

606


write a program to find the given number is prime or not

3809


What is a constant?

620


What is a program?

644






Which is better pointer or array?

583


What is omp_num_threads?

566


Why is c faster?

578


What is the maximum no. of arguments that can be given in a command line in C.?

655


Why c is called a middle level language?

622


Is return a keyword in c?

582


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

537


What is auto keyword in c?

778


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2319


Under what circumstances does a name clash occur?

676