Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help please. 2. Find and replace problem You will implement a replica of find and replace option available in the word document !!!

image text in transcribedI need help please.

2. Find and replace problem You will implement a replica of find and replace option available in the word document !!! (attached below) Search Documenti Word Layout References Mailings Review View Help A 211 AaBbCcDc AabbccDc AaBbc Aabbcc AaB A 1 Normal 1 No Spac. Heading 1 Heading 2 Title 4 Find and Replace ? ? Find Replace Go To Figd what Replace with More >> Beplace Replace A11 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions