/in/foo.c: In function 'main':
/in/foo.c:16:25: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
16 | printf("%d",b[i][j]);}
| ^~~~~~~~~~~~~~~~~~~~
/in/foo.c:15:30: note: within this loop
15 | for(int j=0;j<3;j++){
| ~^~
/in/foo.c:11:37: warning: iteration 2 invokes undefined behavior [-Waggressive-loop-optimizations]
11 | b[j][i]=a[i][j];
| ~~~~^~~
/in/foo.c:10:30: note: within this loop
10 | for(int i=0;i<3;i++){
| ~^~
/in/foo.c:11:34: warning: array subscript 2 is above array bounds of 'int[2][3]' [-Warray-bounds]
11 | b[j][i]=a[i][j];
| ~^~~
/in/foo.c:3:13: note: while referencing 'a'
3 | int a[2][3];
| ^
/in/foo.c:11:29: warning: array subscript 2 is above array bounds of 'int[2]' [-Warray-bounds]
11 | b[j][i]=a[i][j];
| ~~~~^~~
/in/foo.c:4:13: note: while referencing 'b'
4 | int b[3][2];
| ^
/in/foo.c:11:34: warning: array subscript 2 is above array bounds of 'int[2][3]' [-Warray-bounds]
11 | b[j][i]=a[i][j];
| ~^~~
/in/foo.c:3:13: note: while referencing 'a'
3 | int a[2][3];
| ^
/in/foo.c:11:29: warning: array subscript 2 is above array bounds of 'int[2]' [-Warray-bounds]
11 | b[j][i]=a[i][j];
| ~~~~^~~
/in/foo.c:4:13: note: while referencing 'b'
4 | int b[3][2];
| ^
/in/foo.c:16:25: warning: 'b' is used uninitialized [-Wuninitialized]
16 | printf("%d",b[i][j]);}
| ^~~~~~~~~~~~~~~~~~~~
/in/foo.c:4:13: note: 'b' declared here
4 | int b[3][2];
| ^