prog.c: In function 'scanc':
prog.c:9:9: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
scanf("%c", &in);
^
prog.c:9:9: warning: incompatible implicit declaration of built-in function 'scanf'
prog.c:9:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
prog.c:10:16: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
result=atoi(in);
^
prog.c:13:13: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("Incorrect input!");
^
prog.c:13:13: warning: incompatible implicit declaration of built-in function 'printf'
prog.c:13:13: note: include '<stdio.h>' or provide a declaration of 'printf'
/usr/lib/gcc/i586-linux-gnu/5/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status