Checking Sparse Matrix

# Introduction Sparse matrix is a matrix in which number of 0's is greater than the number of non-zero elements. In this step-by-step lab, we will learn how to check whether a two-dimensional array is a sparse matrix or not using C programming. > Note: You need to create the file `~/project/main.c` yourself to practice coding and learn how to compile and run it using gcc. ```bash cd ~/project # create main.c touch main.c # compile main.c gcc main.c -o main # run main ./main ```

|60 : 00

Click the virtual machine below to start practicing