Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!agate!apple!voder!pyramid!infmx!dror From: dror@infmx.UUCP (Dror Matalon) Newsgroups: comp.lang.c Subject: Uninitialized externals and statics. Message-ID: <2128@infmx.UUCP> Date: 16 Aug 89 17:00:57 GMT Reply-To: dror@infmx.UUCP (Dror Matalon) Organization: Informix, Menlo Park, Ca. U.S.A. Lines: 13 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 ? I always initialize globals but I want to know if I need to change some old stuff that counts on uninitialized variables being initialized to zero. -- Dror Matalon Informix Software Inc. {pyramid,uunet}!infmx!dror 4100 Bohannon drive Menlo Park, Ca. 94025 415-926-6426