Question: in C programming Your program will 1) prompt the user for the width W and height H of a matrix 2) create two 2-D int
in C programming 
Your program will 1) prompt the user for the width W and height H of a matrix 2) create two 2-D int arrays of size WxH using two different methods. (method one) int ml[W][H (method two) (a) Using a pntr-pntr-int, malloc a 1-D array of pntrs-int of dimension W (b) Using the pntr-ints malloc'd in (a), malloc W 1-D arrays of ints, each of dimension H. 3) Fill the elements of both arrays with psedorandom float values in the range from 0.0 to W*H 4) The inner product oftwo WxH matrices ml[ ][ ] and m2[ ][ ] is defined as the sum ml[0][0]*m2[0][0]+m1[0][1]*m2[0][1-...+ml[W-1][H-1]*m2[W-1][H-1] Compute the inner product of the two random matrices and print the result to the screen Include all commnets and instructions necessary for the user so that they know what the program does and what the result means. 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
