delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/03/09/03:33:26

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: huli_ebtyt AT list DOT ru (Andrey)
Newsgroups: comp.os.msdos.djgpp
Subject: structures vs memory
Date: 9 Mar 2004 00:26:17 -0800
Organization: http://groups.google.com
Lines: 2
Message-ID: <baec0bf0.0403090004.5ad6b0c5@posting.google.com>
NNTP-Posting-Host: 212.220.74.133
X-Trace: posting.google.com 1078820778 12885 127.0.0.1 (9 Mar 2004 08:26:18 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Tue, 9 Mar 2004 08:26:18 +0000 (UTC)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Why DJGPP reserves 2 bytes of memory for the element of char type in a
structure, when sizeof(structureName.elementName) returns 1?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019