Question: using C language for both questions d. Write a C program to sum two arrays matrix_a[2][3] + matrix_b[2][3] filled with random numbers and save the
using C language for both questions
d. Write a C program to sum two arrays matrix_a[2][3] + matrix_b[2][3] filled with random numbers and save the result to the matrix_c[2][3]. Add the elements of the first matrix with the elements of the second matrix according to their index position. Print matrix_c. e. Use ifdef and define the task number, to select the task you want to compile and run. If the number is 1 : compile and show the results of task a; If the version number is 2 : compile and show the results of task b; And so on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
