Computer Science, asked by marrinehakrishna, 6 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 pungalkaryogita123
1

Answer:

bigbigetkcetkc hkb hkct mm. olfwo. ild5 bkkote hg hbh hihgeuhin. ihrvj. i j uk0


saishreemiriyala2002: pls give correct answer ,if u don't know pls leave it
Similar questions