Write a program that inputs five integers in two arrays each. It declares a function that accepts four parameters. The first parameter is the first array, the second parameter is the second array, the third parameter is the third array and The fourth parameter is the length of the arrays. The function adds the corresponding values of the first two arrays and stores the result in the Figure-A the corresponding element of the third array. The main function finally displays the values of all arrays. (Length of all arrays must be same)
What I have tried:
This is my exam question. Please help me.