1. Write a C program to count the number of occurrence
of
a specific word in the given strings.
(for e.g. Find how many times the word “live” comes in the
sentence “Dream as if you’ll live forever, live as if
you’ll die today ”)
Answer Posted / taruna chaudhary
thanx ram u r exelent.
| Is This Answer Correct ? | 17 Yes | 15 No |
Post New Answer View All Answers
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What is adt in c programming?
Should I learn c before c++?
Difference between Shallow copy and Deep copy?
What is use of bit field?
Write a C program to count the number of email on text
In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]
How arrays can be passed to a user defined function
How can I recover the file name given an open stream or file descriptor?
how could explain about job profile
Explain how can you tell whether two strings are the same?
What is the heap in c?
What is hash table in c?
What is the use of putchar function?
What are 'near' and 'far' pointers?