C17 Answer


/* Puzzle C17 -- multiply corresponding elements in two integer arrays
a and b to determine the elements of a third array c*/

void multTwoArrays( int a[], int b[], int out[], int size)
{
  int j;
  for ( j=0; j < size; j++ )
    out[j] = a[j]*b[j] ;
}