This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]