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: NNTP-Posting-Host: 212.220.74.133 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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?