/in/foo.c: In function 'main':
/in/foo.c:14:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0;i<=n;i++)
^~~
/in/foo.c:16:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
/in/foo.c: In function 'Insert':
/in/foo.c:18:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int]
int Insert(x)
^~~~~~
/in/foo.c:30:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/foo.c:21:11: warning: 'n' is used uninitialized in this function [-Wuninitialized]
for(j=0;j<=n-2;j++)
~^~~~~