/in/foo.c: In function 'Insert':
/in/foo.c:2:8: warning: unused variable 'j' [-Wunused-variable]
int i,j;
^
/in/foo.c: In function 'main':
/in/foo.c:10:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%d",&x);
^~~~~
/in/foo.c:10:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:10:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:13:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%d",arr[i]);
^~~~~~
/in/foo.c:13:3: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:13:3: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:11:2: warning: 'n' is used uninitialized in this function [-Wuninitialized]
Insert(arr,n,x);
^~~~~~~~~~~~~~~