The objective is to set the values of arrayC to the values of arrayB, within the size limits of array C. How to I get the value of numB into arrayC?
I've tried this:
arrayC[k] = numB;
Which compiles without complaint. But the resulting array output of arrayC after the function returns does not contain anything resembling what the elements of numB were. I suspect it's a pointer issue, and what arrayC is returning is the memory addresses of numB, I just don't know the syntax to correct it.