Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!ll-xn!mit-eddie!uw-beaver!cornell!blandy
From: blandy@awamore.cs.cornell.edu (Jim Blandy)
Newsgroups: comp.lang.c
Subject: Re: Optimal structure field ordering
Message-ID: <18637@cornell.UUCP>
Date: 27 Jun 88 16:43:25 GMT
References: <163@navtech.uucp> <2775@ttrdc.UUCP> <164@navtech.uucp> <18630@cornell.UUCP>
Sender: nobody@cornell.UUCP
Reply-To: blandy@cs.cornell.edu (Jim Blandy)
Organization: Cornell Univ. CS Dept, Ithaca NY
Lines: 11

Sorry - should have done this the first time.

The ordering of members in a structure (excluding bit fields) is
also specified in the NEW K&R (v2), section A2.8 (Appendix A, the reference
manual).  Page 213, in my edition:

	"The members of a structure have addresses increasing in the
         order of their declarations."
--
Jim Blandy - blandy@crnlcs.bitnet
"insects were insects when man was just a burbling whatisit."  - archie