Question: 2. Find and replace problem You will implement a replica of find and replace option available in the word document !!! (attached below) Document1 -

2. Find and replace problem You will implement a replica of find and replace option available in the word document !!! (attached below) Document1 - Word e Search Layout References Mailings Review View Help A EEEEE 24 AaBbceDe AaBbcede AaBbc Aabbcc AaB 1 Normal 1 No Spac... Heading 1 Heading 2 Title Paramah Find and Replace ? X Find Replace Go To Find what Replace with More >> Beplace Replace All Eind Next Cancel Input: An initialized one dimensional character array of size 100 and the strings that would be found and replaced with. Output: The input character array after being replaced by the requested string. Sample Input: a:"A quick brown fox jumps over the lazy dog." Find: "fox", Replace: "tiger" Sample Output: "A quick brown tiger jumps over the lazy dog." Marks : 40 Define a separate function that accepts three arguments as input string, find and replace string and implement the find and replace inside that function. You can use the strcmp() function for the string comparison along with other necessary libraries. You need to call that function from the main function and print the result in the main function. (e.g. use the pointer concept)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
