Quote Originally Posted by peckitt99
i need to output it using i code line similar to

Code:
Sum = Add(a,b,ArrLength);
No, You need to output it using code line similar to what was written in your assignment description:
Code:
Add(A,B,Result,ArrLength);
You should fill A and B arrays before you call the function,
you should pass in the last argument the lenght of the arrays,

and you should put as a 3rd parameter the empty array that will be filled by your function.

So after the function finishes - you just take the contents of the Result array and output it as you wish.