foo.c: In function 'main':
foo.c:15:2: warning: implicit declaration of function 'FindMaxs' [-Wimplicit-function-declaration]
FindMaxs(a,n1);
^~~~~~~~
foo.c: At top level:
foo.c:20:6: warning: conflicting types for 'FindMaxs'
void FindMaxs(int s[10000],int n)
^~~~~~~~
foo.c:15:2: note: previous implicit declaration of 'FindMaxs' was here
FindMaxs(a,n1);
^~~~~~~~
foo.c: In function 'main':
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n1,&n2);
^~~~~~~~~~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^~~~~~~~~~~~~~~~~
foo.c:13:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i]);
^~~~~~~~~~~~~~~~~