/in/foo.c: In function 'main':
/in/foo.c:17:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d\n",&n);
^
/in/foo.c:19:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&a[i]);
^
/in/foo.c:21:12: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("\n%d",&x);
^
/in/foo.c:22:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d",Search(a,n,x));
^
/in/foo.c: In function 'Search':
/in/foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^