This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Silly C question
- From: "Allen Williams" <anw at csunv dot com>
- To: "Justin Miller" <millerj at wam dot umd dot edu>, <gcc-help at gcc dot gnu dot org>
- Date: Mon, 15 Sep 2003 20:50:44 -0400
- Subject: RE: Silly C question
Yes.
> -----Original Message-----
> From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org]On
> Behalf Of Justin Miller
> Sent: Monday, September 15, 2003 7:34 PM
> To: gcc-help@gcc.gnu.org
> Subject: Silly C question
>
>
> It's been a while since I've really played with C...
>
> If I write something simple like:
>
> char str[] = "howdy";
>
> Does C automatically NULL-terminate that?
>
> Justin