1.Begin this program by creating two arrays of integers, each holding ten elements of data. Create a third array of integers for a result array. Your main program will take the two arrays of integers and pass them to the function subtract(). Inside the function, subtract the first array from the second array and put the difference into the third array. Print the values of all three arrays back in the main program.
3.Write a C program which defines and uses a macro min(x,y) that, when given two numbers, returns the smaller of the two.
File compiled and tested in Miracle C. All 3 tasks are in program. The results should look like this:
Program (1) ...
A C program (not C++) that works with two arrays of integers holding 10 elements each. A third array is created that holds the results of subtraction of items between the two arrays. Also linked list of integers is created, displayed and disposed. Macro functionality shown.