Use of two arrays:
Define two arrays x and f, each of size 10, using call-by-reference, to pass an array to a function, named sum. In main: define array, pass arrays, print out the array and the results on screen. In function sum, take arrays from main and sum the arrays using the formula below.
∑_1^10e^(x_i+2) -x_i^2+4x_i