Using 2 functions int saveMatrix(matrix *m, char *n),
int loadMatrix(matrix *m, char *n) in c programming
These have to
1. saveMatrix saves a matrix pointed at by matrix pointer m to a file whose name is
held in a character array pointed at n char pointer n.
2. loadMatrix loads a matrix from a file whose name is held in a character array
pointed at n char pointer n and stores it in the matrix pointed at by matrix pointer m.
Both functions should return a value 0 if the file was successfully written or read, and
-1 if there was a write of read error (e.g. file not found for reading)
The program should input a matrix from the keyboard into matrix m1.
It then saves m1 to a file called mat1.txt.
It reads the contents of mat1.txt into matrix m2.
help needed asap think you.