I'm having some trouble figuring out how to pass arrays. I need to write a function with 3 parameters: a,b,i. A and B are char arrays. The parameter i is an int. The function inserts the string a into b immediately after index i. Assume b is large enough to hold the added characters.
So an example of what I'm trying to do is the following...
A is "Today Wednesday"
b is "is"
i is 6
and the result of the function would be
Today is Wednesday