C Program to check whether a two dimensional array is a Sparse Matrix

C Program to check whether a two dimensional array is a Sparse Matrix

C Program to check whether a two dimensional array is a Sparse Matrix A Sparse Matrix is a matrix(two-dimensional array) in which number of 0’s is greater than the number of non-zero elements. #include<stdio.h> int main() { printf(“\n\n\t\Eduguru- C program example\n\n\n”); int n, m, c, d, matrix[10][10]; int counter = 0; printf(“\nEnter the number of … Read more