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 |
#include<stdio.h> #include<conio.h> void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }
What is the difference between the = symbol and == symbol?
what is meant by c
What is the difference between fork() and vfork()?
Do array subscripts always start with zero?
Explain Linker and Loader
Explain setjmp()?
why we use "include" word before calling the header file. is there any special name for that include??????
sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?
What is c++ used for today?
Can we declare variable anywhere in c?
How to receive strings with spaces in scanf()