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 |
Program to find the sum of digits of a given number until the sum becomes a single digit
What are signals in C?
character array A[12] can hold
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
What is null pointer constant?
Which node is more powerful and can handle local information processing or graphics processing?
Can we declare variables anywhere in c?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What do you mean by team??
main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }
11 Answers HCL, Vector, Vector India, Vector Solutions, Wipro,
Why c is called procedure oriented language?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?