/in/foo.c: In function 'main':
/in/foo.c:11:2: error: variable-sized object may not be initialized
int a[N]={0};
^~~
/in/foo.c:11:12: warning: excess elements in array initializer
int a[N]={0};
^
/in/foo.c:11:12: note: (near initialization for 'a')
/in/foo.c:18:10: error: subscripted value is neither array nor pointer nor vector
i=(i+m[l]-1)%n;
^
/in/foo.c:18:17: error: 'n' undeclared (first use in this function)
i=(i+m[l]-1)%n;
^
/in/foo.c:18:17: note: each undeclared identifier is reported only once for each function it appears in