prog.c: In function ‘main’:
prog.c:6:16: error: expected expression before ‘[’ token
float lista = [20];
^
prog.c:8:2: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
while (cont <= 20);
^~~~~
prog.c:9:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘while’
{
^
prog.c:10:21: error: subscripted value is neither array nor pointer nor vector
scanf("%f", &lista[cont]);
^
prog.c:11:21: error: subscripted value is neither array nor pointer nor vector
printf("%f", lista[cont]);
^
prog.c:14:2: warning: implicit declaration of function ‘retun’ [-Wimplicit-function-declaration]
retun (0);
^~~~~
prog.c:6:8: warning: variable ‘lista’ set but not used [-Wunused-but-set-variable]
float lista = [20];
^~~~~