Help...

The Lint Program lint at mimsy.umd.edu
Wed Oct 11 04:12:03 AEST 1989


In article <731 at carroll1.UUCP> dnewton at carroll1.UUCP
(Dave 'Yes, I'm weird' Newton) writes:
>#include <stdio.h>
>main ()
>{
>   char      h[];
>   scanf ("%s", h);
>   printf ("%s\n", h);
>}

t.c:
t.c(4): null storage definition
scanf returns value which is always ignored
printf returns value which is always ignored



More information about the Comp.lang.c mailing list