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
What is the stack in c?
If you know then define #pragma?
What is meant by keywords in c?
What is the difference between text files and binary files?
Differentiate between a for loop and a while loop? What are it uses?
Who developed c language and when?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What is function pointer c?
What is time complexity c?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What is the total generic pointer type?
Why do some versions of toupper act strangely if given an upper-case letter?
What is the difference between array and pointer in c?
Difference between goto, long jmp() and setjmp()?
Differentiate between static and dynamic modeling.