/in/foo.c: In function 'sum':
/in/foo.c:5:24: warning: left-hand operand of comma expression has no effect [-Wunused-value]
for(int i = 1 ; i <= n, i++ ){
^
/in/foo.c:5:30: error: expected ';' before ')' token
for(int i = 1 ; i <= n, i++ ){
^
/in/foo.c: In function 'main':
/in/foo.c:18:2: error: variable-sized object may not be initialized
int f[n+1][n+1] = {0};
^~~
/in/foo.c:18:21: warning: excess elements in array initializer
int f[n+1][n+1] = {0};
^
/in/foo.c:18:21: note: (near initialization for 'f[0]')
/in/foo.c:18:2: warning: excess elements in array initializer
int f[n+1][n+1] = {0};
^~~
/in/foo.c:18:2: note: (near initialization for 'f')
/in/foo.c:31:0: note: -Wmisleading-indentation is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers
}
/in/foo.c:31:1: error: expected declaration or statement at end of input
}
^