foo.c: In function ‘main’:
foo.c:7:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
7 | int fibList[N]{1,1};
| ^
foo.c:7:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
7 | int fibList[N]{1,1};
| ^
foo.c:7:25: warning: statement with no effect [-Wunused-value]
foo.c:7:27: error: expected ‘;’ before ‘}’ token
7 | int fibList[N]{1,1};
| ^
| ;
foo.c:13:25: error: ‘fibList’ undeclared (first use in this function)
13 | fibList[i]=fibList[i-1]+fibList[i-2];
| ^~~~~~~
foo.c:13:25: note: each undeclared identifier is reported only once for each function it appears in