Write C functions to do operations on n by n matrix
Solution
#include<stdio.h>#include<stdlib.h>void printMatrix(int **A, int n) { int i = 0, j = 0; while(i<n){ j = 0; while(j<n) { printf(“%d “, A[i][j]); j++; } printf(“n”); i++; } printf(“n”);}int** makeMatrix(int n) { int i = 0;
OR
OR