/in/foo.c: In function 'main':
/in/foo.c:5:10: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
int *a1=malloc(sizeof(int)*10000);
^~~~~~
/in/foo.c:5:10: warning: incompatible implicit declaration of built-in function 'malloc'
/in/foo.c:5:10: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:25:2: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
system("pause");
^~~~~~
/in/foo.c: In function 'SetInter':
/in/foo.c:31:9: warning: incompatible implicit declaration of built-in function 'malloc'
int *h=malloc(sizeof(int)*10000);
^~~~~~
/in/foo.c:31:9: note: include '<stdlib.h>' or provide a declaration of 'malloc'
/in/foo.c:31:7: warning: unused variable 'h' [-Wunused-variable]
int *h=malloc(sizeof(int)*10000);
^
/in/foo.c:30:14: warning: unused variable 'y' [-Wunused-variable]
int i,j,x=0,y;
^
/in/foo.c:30:10: warning: unused variable 'x' [-Wunused-variable]
int i,j,x=0,y;
^