Newsgroups: comp.lang.c
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: another stupid array/pointer question
Message-ID: <1990Mar3.115916.2034@utzoo.uucp>
Organization: U of Toronto Zoology
References: <1990Mar2.135645.17274@granite.cr.bull.com>
Date: Sat, 3 Mar 90 11:59:16 GMT

In article <1990Mar2.135645.17274@granite.cr.bull.com> freedman@granite.cr.bull.com (Jerome Freedman) writes:
>    struct b {
>	char another_string[80];
>    }
>
> Is the 80 character array included in the size of struct b ...

Yes.  There is little "invisible machinery" in C; in general, you get
what you ask for.  In this case, you've asked for a struct containing
an 80-character array.
-- 
MSDOS, abbrev:  Maybe SomeDay |     Henry Spencer at U of Toronto Zoology
an Operating System.          | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
