program to find the second largest word in a paragraph
amongst all words that repeat more thn twice
Answer Posted / marimuthu
By simple
1.find length of each word
2.insert into binary search tree
3.recursively get the left most child of the right sub tree. finally you will get the second largest word.
via this logic you can smallest word,largest word.
is it have criticize?? mail me rainpearls.v@gmail.com
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Why we use conio h in c?
What is variable declaration and definition in c?
When we use void main and int main?
Difference between macros and inline functions? Can a function be forced as inline?
how do you execute a c program in unix.
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.
How many types of errors are there in c language? Explain
What is static memory allocation?
Why is extern used in c?
What is c variable?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Why malloc is faster than calloc?
What are the types of type specifiers?
What is omp_num_threads?
why programs in c are running with out #include