Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!brutus.cs.uiuc.edu!apple!bbn!granite!freedman From: freedman@granite.cr.bull.com (Jerome Freedman) Newsgroups: comp.lang.c Subject: another stupid array/pointer question Message-ID: <1990Mar2.135645.17274@granite.cr.bull.com> Date: 2 Mar 90 13:56:45 GMT Reply-To: freedman@granite.cr.bull.com (Jerome Freedman) Organization: Bull HN Information Systems Inc. Lines: 25 Suppose I have a structure struct a { char * a_string; } and a structure struct b { char another_string[80]; } sizeof(struct a) should equal sizeof(char *) but what about sizeof(struct b)? Is the 80 character array included in the size of struct b or is b.another_string a pointer into somewhere where there is allocated space - is this implementation defined? I realize this might be a "dumb" question but not as dumb as if I didn't ask it. Jerry Freedman, Jr