Script started on Tue 20 Sep 2011 03:50:14 AM EDT linux1% gcc -Wall scanf1.c scanf1.c:8: warning: return type defaults to 'int' scanf1.c: In function 'main': scanf1.c:24: warning: control reaches end of non-void function linux1% linux1% gcc -Wall scanf2.c scanf2.c:9: warning: return type defaults to 'int' scanf2.c: In function 'main': scanf2.c:19: warning: format '%lf' expects type 'double *', but argument 2 has type 'double' scanf2.c:25: warning: control reaches end of non-void function scanf2.c:19: warning: 'x' is used uninitialized in this function linux1% linux1% gcc -Wall scanf3.c scanf3.c:9: warning: return type defaults to 'int' scanf3.c: In function 'main': scanf3.c:19: warning: format '%f' expects type 'float *', but argument 2 has type 'double *' scanf3.c:25: warning: control reaches end of non-void function linux1% linux1% gcc -Wall scanf4.c scanf4.c:9: warning: return type defaults to 'int' scanf4.c: In function 'main': scanf4.c:25: warning: control reaches end of non-void function linux1% linux1% exit Script done on Tue 20 Sep 2011 03:51:14 AM EDT