In the cplusplus page for the inner_product module they gave a code example:
int init = 100;
int series1[] = {10,20,30};
int series2[] = {1,2,3};
std::cout << "using default inner_product: ";
std::cout << std::inner_product(series1,series1+3,series2,init);
std::cout << '\n';
Where I saw them use series1+3
when calling the inner_product funtcion.
What exactly does adding "3" to the array variable do?