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 |
What are the Advantages of using macro
What are c header files?
code for bubble sort?
int i=0,j; j=++i + ++i ++i; printf(" %d",j);
what is the significance of static storage class specifier?
What is the difference function call by value & function call by reference?
Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.
Explain what is wrong in this statement?
define string ?
Why is #define used?
difference between Low, Middle, High Level languages in c ?
What are the different types of constants?