Question: C PROGRAMMING ONLY 3 String Search Develop a C program that searches a file for a given string. Your program should . Ask the user
3 String Search Develop a C program that searches a file for a given string. Your program should . Ask the user to enter the fle to bq searched. - Ask the user to enter the target string. The string can be longer than one word, but no longer than a line. - Locate the target string in the file. Your program should be able to identify the target string as a part of another string. You are not allowed to call the strstr function for this part, you have to implement your OWn e Print the line number as well as the entire line for every match
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
