Write a c program which defines and uses a macro minxy that


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.

2.Write a C program containing a linked list of ten integer numbers. Have the program display the numbers in the list.

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.

Attachment:- mc41sh.zip

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Write a c program which defines and uses a macro minxy that
Reference No:- TGS01246286

Now Priced at $20 (50% Discount)

Recommended (94%)

Rated (4.6/5)