#include #include int main() { int Matrix[2][3] = { {3, 4, 5}, {1, -20, 7}}; /* // An alternative way to initialize the matrix int Matrix[2][3]; // row 1 Matrix[0][0]=3; Matrix[0][1]=4; Matrix[0][2]=5; // row 2 Matrix[1][0]=1; Matrix[1][1]= -20; Matrix[1][2]=7; */ int i,j; for(i=0; i< 2; i++) { for(j=0; j<3; j++) printf("%3d ", Matrix[i][j]); printf("\n"); } system("pause"); }