foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
include<stdio.h>
^
foo.c: In function 'main':
foo.c:10:1: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d%d",&volume,&n);
^
foo.c:10:1: warning: incompatible implicit declaration of built-in function 'scanf' [enabled by default]
foo.c:15:1: error: 'valu' undeclared (first use in this function)
valu[i]=volu[i]*a;
^
foo.c:15:1: note: each undeclared identifier is reported only once for each function it appears in
foo.c:21:1: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%d\n",f[volume]);
^
foo.c:21:1: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
foo.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^