Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!rjf001!hpftc!zardoz!uci-ics!orion.cf.uci.edu!usc!cs.utexas.edu!csd4.csd.uwm.edu!bionet!ames!indri!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Uninitialized externals and statics. Message-ID: <10764@smoke.BRL.MIL> Date: 17 Aug 89 15:20:17 GMT References: <2128@infmx.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <2128@infmx.UUCP> dror@infmx.UUCP (Dror Matalon) writes: - K&R 2.4 say "External and static variables are initialized -to zero by default, but it is good style to state the initialization -anyway." - Is this really portable ? It's supposed to have always been the rule. There certainly is a lot of C code that depends on it.