prog.c: In function ‘start’:
prog.c:24:2: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘printf’
printf("Enter coordinates for move");
^~~~~~
prog.c:25:20: error: ‘j’ undeclared (first use in this function)
scanf("%d %d",&i &j);
^
prog.c:25:20: note: each undeclared identifier is reported only once for each function it appears in
prog.c:29:6: warning: ‘main’ is normally a non-static function [-Wmain]
int main()
^~~~
prog.c:36:2: error: expected declaration or statement at end of input
}
^
prog.c: In function ‘display’:
prog.c:19:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
prog.c: In function ‘start’:
prog.c:36:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
At top level:
prog.c:29:6: warning: ‘main’ defined but not used [-Wunused-function]
int main()
^~~~