Professional Documents
Culture Documents
int a[10][10],b[10][10],c[10][10],m,n,i,j,k,p,q
clrscr()
printf(" Enter the no of rows and columns of matrix A \n")
scanf("%d%d",&m,&n)
printf("Enter the no of rows and columns of matrix B \n")
scanf("%d%d",&p,&q)
m==p
True False
printf("Matrix multiplication is possible \n")
printf("Matrix multiplication is not possible")
printf("Enter the elements of matrix A\n")
i=0
i<m
True False
j=0 printf("Enter the elements of matrix B\n")
i=0
j<n
False True
False True
i<m j<n
i=0 j++
j<n
False True
True False
k<n j<n
j