/in/foo.c: In function 'main':
/in/foo.c:12:15: error: 'j' undeclared (first use in this function)
12 | transpose[j][i]=matrix[i][j];}
| ^
/in/foo.c:12:15: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:5:13: warning: variable 'transpose' set but not used [-Wunused-but-set-variable]
5 | int transpose[3][2];
| ^~~~~~~~~
/in/foo.c: At top level:
/in/foo.c:14:16: error: expected declaration specifiers or '...' before string constant
14 | printf("\n");
| ^~~~
/in/foo.c:15:5: error: expected identifier or '(' before 'for'
15 | for(int i=0;i<3;i++){
| ^~~
/in/foo.c:15:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
15 | for(int i=0;i<3;i++){
| ^
/in/foo.c:15:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
15 | for(int i=0;i<3;i++){
| ^~
/in/foo.c:23:5: error: expected identifier or '(' before 'return'
23 | return 0;
| ^~~~~~
/in/foo.c:24:1: error: expected identifier or '(' before '}' token
24 | }
| ^