Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!genrad!mit-eddie!mit-vax!eagle!mhuxt!mhuxi!mhuxa!houxm!hocda!spanky!burl!we13!ihnp4!ixn5c!inuxc!pur-ee!davy From: davy@pur-ee.UUCP Newsgroups: net.lang.c Subject: Array Initialization - (nf) Message-ID: <953@pur-ee.UUCP> Date: Sat, 2-Jul-83 19:25:58 EDT Article-I.D.: pur-ee.953 Posted: Sat Jul 2 19:25:58 1983 Date-Received: Thu, 7-Jul-83 12:14:39 EDT Lines: 16 #N:ecn-ec:15500016:000:390 ecn-ec!davy Jul 2 17:07:00 1983 On our system, arrays of integers are initialized to zero automatically. I.e., "int n[100]" produces an array of 100 integers all equal to 0. Is it ok to assume all UNIX C compilers do this, or do some of them not initialize the stuff? Basically, I need to know if I can skip initializing them. --Dave Curry decvax!pur-ee!davy P.S. - We're running 4.1 BSD on a VAX-11/780.