When I try to add the two array together it show me 0?
`
#include <iostream>
using namespace std;
int add_arrays(int a[], int b[], int n);
int main ()
{
int numbers[5]={1,2,3,4,5};
int numb [5] = {6,7,8,9,10};
int total= add_arrays(numbers, numb, 5);
cout << total << endl;
}
int add_arrays(int a[], int b[], int n)
{
for (int i = 0; i < n; i++)
{
n = a[i] + b[i];
}
return n;
}
`