Article View: comp.std.c
Article #3933Re: Initialization of 'auto' char array
From: Larry Jones
Date: Wed, 06 Sep 1995 16:01
Date: Wed, 06 Sep 1995 16:01
13 lines
1101 bytes
1101 bytes
In article <1995Sep6.111857@lglsun.epfl.ch>, wolf@lglsun.epfl.ch (Thomas Wolf) writes: > "In the initialization of a character array with fixed size with > automatic storage duration by a character string literal with > fewer characters (including the terminating null character) than > the array has elements, are the remaining array elements initialized > as if the array had static storage duration?" Yes. The wording in the standard has been (or will be) corrected by a Technical Corrigendum to make this clear. ---- Larry Jones, SDRC, 2000 Eastman Dr., Milford, OH 45150-2789 513-576-2070 larry.jones@sdrc.com Oh, now don't YOU start on me. -- Calvin
Technical Details
Message-ID:
<42kgk6$79o@info1.sdrc.com>Path:
arc1-ca.pugleaf.net!sdrc.com!thor!scjonesReferences:
<1995Sep6.111857@lglsun.epfl.ch>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sdrc.com!thor!scjones From: scjones@thor.sdrc.com (Larry Jones) Newsgroups: comp.std.c Subject: Re: Initialization of 'auto' char array Date: 6 Sep 1995 16:01:10 GMT Organization: SDRC Engineering Services Distribution: world Message-ID: <42kgk6$79o@info1.sdrc.com> References: <1995Sep6.111857@lglsun.epfl.ch> NNTP-Posting-Host: thor.sdrc.com Keywords: Initialization, Character String Literal