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 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
Get step-by-step solutions from verified subject matter experts
