Question: The language is C. Help would be greatly appreciated. Write a function to compute the sum of two n-dimensional vectors. The sum of two vectors

The language is C. Help would be greatly appreciated.
Write a function to compute the sum of two n-dimensional vectors. The sum of two vectors x = (x_1, x_2, .....x_n) and y = (y_1, y_2, ......., y_n) is the vector (x_1 + y_1, X_2 + y_2, ...., X_n + y_n) The function should implement the following specification:/*Computes the sum of two n-dimensional vectors, x and y, *and stores it in vector sum. Returns 0 if successful; *J if any of x, y, or sum is NULL; and - 2 if n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
