✍️ Get Writing Help
WhatsApp

Real-life situation

1. Write a program that invokes a function called find( ) to perform the following tasks:

(a) Receives a character array and a single character.

(b) Returns 1 if the specified character is found in the array, 0 otherwise.

2. Design a function locate ( ) that takes two character arrays s1 and s2 and one integer value

m as parameters and inserts the string s2 into s1 immediately after the index m.

Write a program to test the function using a real-life situation. (Hint: s2 may be a missing

word in s1 that represents a line of text).

For faster services, inquiry about  new assignments submission or  follow ups on your assignments please text us/call us on +1 (251) 265-5102