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 two kinds of java
What's wrong with "char *p = malloc(10);" ?
What's the total generic pointer type?
write a program to print infinte number
What is static and auto variables in c?
how 2 compile & execute c program with out using editor?
What is the collection of communication lines and routers called?
Write a c program to find, no of occurance of a given word in a file. The word is case sensitive.
what is the difference between 123 and 0123 in c?
Program to trim a given character from a string.
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
What is the value of y in the following code? x=7;y=0; if(x=6) y=7; else y=1;