foo.c: In function ‘main’:
foo.c:43:24: error: ‘min1’ undeclared (first use in this function); did you mean ‘n1’?
43 | printf("%d %d",min1,min2);
| ^~~~
| n1
foo.c:43:24: note: each undeclared identifier is reported only once for each function it appears in
foo.c:43:29: error: ‘min2’ undeclared (first use in this function); did you mean ‘n2’?
43 | printf("%d %d",min1,min2);
| ^~~~
| n2
foo.c:42:13: warning: unused variable ‘num2’ [-Wunused-variable]
42 | int num2=FindMaxNeg(arr2,n2);
| ^~~~
foo.c:41:13: warning: unused variable ‘num1’ [-Wunused-variable]
41 | int num1=FindMaxNeg(arr1,n1);
| ^~~~