MESSAGE
DATE | 2005-01-26 |
FROM | Ruben Safir
|
SUBJECT | Re: [hangout] Simple C question
|
On Tue, 2005-01-25 at 14:28, Martin, Jared wrote: > If I have three strings: > char *str1; <-- Thats not a string it is a pointer to a char
> char str2[]; <---That is not a string. It is a declaration of a char array which allocates no memory
> char str3[10];<---That is a char array which can hold a string of 9 chars (with an ending null
Ruben
____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|