/in/foo.c: In function 'main':
/in/foo.c:11:11: warning: unused variable 'counter' [-Wunused-variable]
int n,counter;
^~~~~~~
/in/foo.c: In function 'hanoi':
/in/foo.c:41:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(n==1)
^~
/in/foo.c:43:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(count==k)
^~
/in/foo.c: In function 'del':
/in/foo.c:72:2: warning: statement with no effect [-Wunused-value]
for(p; p<q+20; p++)
^~~
/in/foo.c:66:12: warning: unused variable 'j' [-Wunused-variable]
int i;int j;
^