#include <stdio.h> void main() { int a[10][10], b[10][10], c[10][10], i, j, row, col; printf( "\nEnter number of rows and columns: " ); scanf( "%d %d" , &row, &col); printf( "\nEnter elements of Array A:\n" ); for (i=0; i<row; i++) for (j=0; j<col; j++) scanf( "%d" , &a[i][j]); printf( "\nEnter elements of Array B:\n" ); for (i=0; i<row; i++) for (j=0; j<col; j++) scanf( "%d" , &b[i][j]); printf( "\nElements of Matrix A:\n\n" ); for (i=0; i<row; i++) { for (j=0; j<col; j++) printf( "\t%d" , a[i][j]); printf( "\n\n" ); } printf( "\nElements of Matrix B:\n\n" ); for (i=0; i<row; i++) { for (j=0; j<col; j++) printf( "\t%d" , b[i][j]); printf( "\n\n" ); }