1// most of the time I forget that there should be matrix[i][j], not matrix[i]
2#include <stdio.h>
3// Abdullah Miraz
4int main(){
5    int i, j;
6
7    int matrix[2][3] = {{2,3,4,5}, {7,8,9,1}};
8    for(i=0;i< 2 ; i++){
9        for(j=0;j<3;j++){
10            printf("%d ", matrix[i][j]);
11        }
12    }
13}1language[0] => "Java";
2language[1] => "Python";
3language[2] => "C++";
4language[3] => "HTML";
5language[4] => "SQL";1#include <stdio.h>
2
3int main(){
4
5    printf("Enter the number of columns");
6    int i; 
7    scanf("%d", &i);
8    printf("Enter the number of rows");
9    int y; 
10    scanf("%d", &y);
11
12    int r[i][y];
13    int a;
14    int b;
15
16        for (a=0; a<i; a++){
17            for (b=0; b<y; b++){
18    scanf("%d",&r[a][b]);
19        }
20    }
21}
221#include <stdio.h>
2
3#define MAX 10
4
5int main()
6{
7    char grid[MAX][MAX];
8    int i,j,row,col;
9
10    printf("Please enter your grid size: ");
11    scanf("%d %d", &row, &col);
12
13
14    for (i = 0; i < row; i++) {
15        for (j = 0; j < col; j++) {
16            grid[i][j] = '.';
17            printf("%c ", grid[i][j]);
18        }
19        printf("\n");
20    }
21
22    return 0;
23}
24