Path: utzoo!attcan!uunet!lll-winken!ames!killer!texbell!bellcore!faline!thumper!ulysses!andante!alice!dmr From: dmr@alice.UUCP Newsgroups: comp.lang.c Subject: Re: static versus auto initialization Message-ID: <8826@alice.UUCP> Date: 24 Jan 89 04:35:25 GMT Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 11 Bob Devine (in decwrl.8901231945.AA05683) points out that K&R 2ed claims (p. 86) that partially initialized automatic aggregates leave the part not explicitly initialized as garbage. This claim is in error; as several people have pointed out, the pANS guarantees that if an automatic is initialized at all, it is initialized the same way as a static, with assignment of 0 to the missing members. Apologies, Dennis Ritchie