/in/foo.c: In function 'main':
/in/foo.c:7:6: error: array size missing in 'sum'
int sum[];
^~~
/in/foo.c:8:6: error: array size missing in 'Name'
int Name[];
^~~~
/in/foo.c:10:6: error: 'i' undeclared (first use in this function)
for(i=0,i<N,i++)
^
/in/foo.c:10:6: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:10:9: warning: left-hand operand of comma expression has no effect [-Wunused-value]
for(i=0,i<N,i++)
^
/in/foo.c:10:13: warning: left-hand operand of comma expression has no effect [-Wunused-value]
for(i=0,i<N,i++)
^
/in/foo.c:10:17: error: expected ';' before ')' token
for(i=0,i<N,i++)
^
/in/foo.c:10:17: error: expected expression before ')' token
/in/foo.c:11:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
{scanf("%c",&name);
^
/in/foo.c:14:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
scanf("%c",&isvip);
^
/in/foo.c:15:11: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'int *' [-Wformat=]
scanf("%c",&iswest);
^
/in/foo.c:35:21: error: 'k' undeclared (first use in this function)
printf("%c\n",Name[k]);
^
/in/foo.c:8:6: warning: variable 'Name' set but not used [-Wunused-but-set-variable]
int Name[];
^~~~
/in/foo.c:6:6: warning: unused variable 'sumBUD' [-Wunused-variable]
int sumBUD,sumAll;
^~~~~~