#include<stdio.h>
void main()
{
int a[10][10],b[10][10],c[10][10],i,j,row,col;
clrscr();
printf("How many rows : ");
scanf("%d",&row);
printf("How many columns : ");
scanf("%d",&col);
printf("Enter your 1st matrix :\n");
for(i=0;i<row;++i)
for(j=0;j<col;j++)
{
printf("Element(%d,%d) :",i+1,j+1);
scanf("%d",&a[i][j]);
}