Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Zero Length Arrays Allowed in C Standard? Message-ID: <1989Dec14.173421.1860@utzoo.uucp> Organization: U of Toronto Zoology References: <2298@jato.Jpl.Nasa.Gov> <11715@smoke.BRL.MIL> <480@codonics.COM> <1989Dec2.210042.12668@twwells.com> <8129@cg-atla.UUCP <70188@psuecl.bitnet> <1498@utkcs2.cs.utk.edu> Date: Thu, 14 Dec 89 17:34:21 GMT In article <1498@utkcs2.cs.utk.edu> battle@alphard.cs.utk.edu (David Battle) writes: >Is the order of elements of a structure guaranteed to be the same in memory >as in the program? ... In ANSI C, yes. (Section 3.5.2.1) In pre-ANSI implementations, well, probably. -- 1755 EST, Dec 14, 1972: human | Henry Spencer at U of Toronto Zoology exploration of space terminates| uunet!attcan!utzoo!henry henry@zoo.toronto.edu