C language how to remove or not show rows with 0 value column

前端 未结 0 786
醉酒成梦
醉酒成梦 2021-01-11 14:56

for example, we have this

0 1 0 1
0 3 1 0
0 1 5 0
0 0 0 0

matrix I want to show just rows and columns with non zero elements the final matrix

相关标签:
回答
  • 消灭零回复
提交回复
热议问题