Anonymous

Write A Program In 'C' Language For The Multiplication Of Two Matrices Using Pointers?

2

2 Answers

Anonymous Profile
Anonymous answered
//program to multiply 2 matrices
#include
#include
#define max 10
void main()
{
int a[max][max];
int a1[max][max];
int a2[max][max];
int I,j,n,m,k,l,e;
clrscr();
printf("nEnter the number of rows of first matrix:");//insertion of first matrix
scanf("%d",&n);
printf("nEnter the number of columns of second matrix:");
scanf("%d",&m);
printf("nEnter the elements of first matrix:n");
for(I=0;I

Answer Question

Anonymous