Question: Write a CH+ program to implement a function named replaceFcn. This function receives two strings (str1 and str2). The function copies the content of strl

 Write a CH+ program to implement a function named replaceFcn. This

Write a CH+ program to implement a function named replaceFcn. This function receives two strings (str1 and str2). The function copies the content of strl into str2 after replacing each (e, E) letter with @. void replaceFcn (char* stri, char* str2); Example: char Strl []- "Cpe 150 exam" ; char Str2 [100] "Cp 150 @xam" ; In your main do the following: Create two strings: o Strl and initialize it with your first name. o Str2 Call the function replaceFcn Print Str2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!