TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: you
from: Jerry Coffin
date: 2003-08-05 10:23:14
subject: Re: Bob`s questi

From: jcoffin{at}taeus.com
To: c_echo{at}yahoogroups.com

At 10:31 PM 8/3/2003 +0100, you wrote:

>  * Author: Jasen Betts

[ ... ]

>Given
>
>typedef struct moo
>   {
>  int foo;
>  char bar;
>   } moo;
>
>
>is   sizeof(moo) * 100   always the same as   sizeof( moo[100] )
>
>in other words does sizeof() include any slack space required for
>alignment.

Yes.
         Later,
         Jerry.

--- SoupGate-Win32 v1.05
* Origin: jcoffin{at}taeus.com (2:292/516.666)
SEEN-BY: 633/267 270
@PATH: 292/516 854 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.