Adsense 728 * 15

Search

Write a Program to Subtract Two Matrices in C

Like addition of two matrices, subtraction of two matrices will only be possible if both are of same size. I declare two matrices of 3 * 3 type.I declare two matrices a and b , the result of matrices subtraction is stored in c. Here i declare matrix and initialize it's value without taking user input. If you want to take user input check my previous program on addition of two matrices.