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
Write the Program to reverse a string using pointers.
How can you tell whether two strings are the same?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Describe wild pointers in c?
What is static and auto variables in c?
How can a process change an environment variable in its caller?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
What is a sequential access file?
What is the benefit of using #define to declare a constant?
I have a varargs function which accepts a float parameter?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What is the advantage of c?
What is a far pointer in c?
Explain null pointer.
How do you use a 'Local Block'?