Words by vaibhav khatavkar [Wed, Jun 18, 2008 at 04:24:31PM +0530]:
> Hi Wang Yu ,
>
> I saw ur code ...
>
>
> >
> >
> > char
> > *p;
> >
> > p =
> > 0;
> >
> > *printf("%s",
> > p);
> >
> > printf("\n"); *
> >
> >
> In ur first code snippet "%s" prints string located at p .. and thats null
No it is not.
--
Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc
----------------------------------------------------------------
"One man’s theology is another man’s belly laugh." -- Robert A. Heinlein
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ