Computer Science, asked by marrinehakrishna, 5 months ago

1. Create a data file matA.dat that contains matrix A. In this file, first line contains the
row and column dimensions of the matrix and the following lines contain the matrix
elements stored row-wise.
Write C functions to do the following:
(a) It reads the row and column dimensions of A. Creates a dynamic 2-D array like
variable that can hold the matrix and then reads the matrix A from matA.dat
(b) It then prints out A in the terminal. For each stage (a) and (b), use appropriate
functions. Test data and expected output:
For matA.dat 2 3 1.0 0 4.0 -2.0 4.0 1.0 ———————
The matrix A is: 1.000 0.000 4.000
-2.000 4.000 1.000

Answers

Answered by sonamnabi
1

Answer:

please mark me as brainlist then I will also mark you as brainlist

Similar questions