1.

Write a C program to perform matrix multiplication using functions?

Answer»

Explanation:

C Program to Perform Matrix Multiplication

★int m, N, p, q, c, d, k, sum = 0;

★int first[10][10], second[10][10], multiply[10][10];

★printf("ENTER the NUMBER of rows and columns of first matrix\n");

★scanf("%d%d", &m, &n);

★printf("Enter the ELEMENTS of first matrix\n");

★for ( c = 0 ; c < m ; c++ )

★for ( d = 0 ; d < n ; d++ )

★scanf("%d", &first[c][d]);



Discussion

No Comment Found