Dr. A.P.J. Abdul Kalam Technical University (AKTU), Lucknow
32. Write a program to check whether a given word exists in a file or not. If yes then find the number of times it occurs.
Sample Input and Output
Input path: Prgrm32.c
Input word to find: word
Word “word” occurs 8 times in the file.