C Program to Multiply Two Matrix
#include <stdio.h> #include <stdlib.h> #include <string.h> int main (){ // Initialising 1st Matrix system ( "clear" ); int m1 , n1 , m2 , n2 ; printf ( "No of Rows of 1st Matrix : " ); scanf ( " %d " , & m1 ); printf ( "No of Columns of 1st Matrix : " ); scanf ( " %d " , & n1 ); // Initialising the 2nd Matrix printf ( "No of Rows of 2nd Matrix : " ); scanf ( " %d " , & m2 ); printf ( "No of Columns of 2nd Matrix : " ); scanf ( " %d " , & n2 ); if ( n1 != m2 ) { printf ( "Can't Compute ... \n " ); // Checking n1=m2 } else { int matrix1 [ m1 ][ n1 ]; int matrix2 [ m2 ][ n2 ]; // Taking input of 1st Matrix printf ( " \n " ); printf ( "Enter the 1st Matrix : \n\n " ); for ( int i ...