Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site mgweed.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!bellcore!allegra!ulysses!mhuxr!ihnp4!mgnetp!mgweed!dan From: dan@mgweed.UUCP (Daniel Gray) Newsgroups: net.lang.c Subject: Re: Re: Structure question (problem) Message-ID: <17512@mgweed.UUCP> Date: Thu, 30-May-85 11:19:18 EDT Article-I.D.: mgweed.17512 Posted: Thu May 30 11:19:18 1985 Date-Received: Sat, 1-Jun-85 13:08:01 EDT References: <185@vger.UUCP> <3090004@csd2.UUCP> <10@ucbcad.UUCP> Organization: AT&T Consumer Products - Montgomery Illinois Lines: 11 If my memory serves me correctly, The compiler will allocate only enough space for the largest element in the union. There for, it is the responsibility of the programmer to remember what is in the union and work with it accordingly. If you want to initialize something to specific values, I suggest that you deal with struc[tures]. Only in structures can all of the elements reside concurrently. Daniel Gray ihnp4!mgweed!mgbase!dan