Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site rabbit.UUCP Path: utzoo!linus!decvax!genrad!grkermit!mit-vax!eagle!alice!rabbit!ss From: ss@rabbit.UUCP Newsgroups: net.lang.c Subject: Re: Array Initialization - (nf) Message-ID: <1666@rabbit.UUCP> Date: Fri, 8-Jul-83 10:17:05 EDT Article-I.D.: rabbit.1666 Posted: Fri Jul 8 10:17:05 1983 Date-Received: Sat, 9-Jul-83 13:31:43 EDT References: <278@5941ux.UUCP>, <243@vaxine.UUCP> Organization: Bell Labs, Murray Hill Lines: 22 K&R p. 198 says statics and externals are guaranteed to be "uninitialized" to zero; automatic and register are guaranteed to be "uninitialized" to garbage. Since this is supposed to be the "standard"... --Tucker (ptw@vaxine.UUCP) I do wish people would at least READ the book before quoting from it. K&R p. 198 says "Static and external variables which are not initialized are guaranteed to start off as 0; automatic and register variables which are not initialized are guaranteed to start off as garbage." Yes, that is supposed to be the "standard"... -- Sharad Singhal ..!rabbit!ss