/in/foo.c:2:27: error: conflicting types for 'a'
void seperate(int a[],int a)
^
/in/foo.c:2:19: note: previous definition of 'a' was here
void seperate(int a[],int a)
^
/in/foo.c: In function 'seperate':
/in/foo.c:3:16: error: 'i' undeclared (first use in this function)
{ for(int j=0;i%10>0;i=/10,j++)
^
/in/foo.c:3:16: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:3:25: error: expected expression before '/' token
{ for(int j=0;i%10>0;i=/10,j++)
^
/in/foo.c:4:6: error: subscripted value is neither array nor pointer nor vector
a[j]=i%10;
^
/in/foo.c:3:12: warning: variable 'j' set but not used [-Wunused-but-set-variable]
{ for(int j=0;i%10>0;i=/10,j++)
^
/in/foo.c: In function 'max':
/in/foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.c: In function 'min':
/in/foo.c:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^