Silly C question

lrtaylor@micron.com lrtaylor@micron.com
Mon Sep 15 23:34:00 GMT 2003


Yes.

Thanks,
Lyle Taylor


-----Original Message-----
From: Justin Miller [mailto:millerj@wam.umd.edu]
Sent: Monday, September 15, 2003 5: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



More information about the Gcc-help mailing list