write a program to count the no of repaeted words in a line?
Answer / k raja sekhar
create a linked list of stucture having 2 feilds
1. string "to keep the string"
2. int "to maintain count"
get a word from the line, check in a array say words[]. if it is available just increase the count of the word in the linked list if not create a new node and insert the word in the array.
| Is This Answer Correct ? | 0 Yes | 2 No |
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Write a program to find factorial of a number using recursive function.
What are the 5 elements of structure?
What is the use of in c?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
0 Answers MAHINDRA, Protech, Sivan Tech,
What does %2f mean in c?
What is the main difference between calloc () and malloc ()?
what is c language?
What is this infamous null pointer, anyway?
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
Can we declare a function inside a function in c?
how to set Nth bit of a variable?