scanf1.c:1:1: warning: return type defaults to ‘int’ [-Wreturn-type]
main(){int n;scanf("%d",&n);printf("%d",n);
^
scanf1.c: In function ‘main’:
scanf1.c:1:1: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
scanf1.c:1:14: warning: incompatible implicit declaration of built-in function ‘scanf’
main(){int n;scanf("%d",&n);printf("%d",n);
^
scanf1.c:1:1: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
main(){int n;scanf("%d",&n);printf("%d",n);
^
scanf1.c:1:29: warning: incompatible implicit declaration of built-in function ‘printf’
main(){int n;scanf("%d",&n);printf("%d",n);
^
scanf1.c:1:1: error: expected declaration or statement at end of input
main(){int n;scanf("%d",&n);printf("%d",n);
^
scanf1.c:1:1: warning: control reaches end of non-void function [-Wreturn-type]
main(){int n;scanf("%d",&n);printf("%d",n);
^