delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/13/17:24:27

From: "A. Jans-Beken" <jansb000 AT wxs DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: sizes of ints, and longs.
Date: Sun, 13 Dec 1998 22:54:04 +0100
Organization: World Access
Lines: 17
Message-ID: <3674377C.C131F24B@wxs.nl>
References: <366e5924 DOT 0 AT 139 DOT 134 DOT 5 DOT 33>
NNTP-Posting-Host: vl0027-0.dial.wxs.nl
Mime-Version: 1.0
X-Trace: reader1.wxs.nl 913585741 16500 195.121.18.27 (13 Dec 1998 21:49:01 GMT)
X-Complaints-To: abuse AT wxs DOT nl
NNTP-Posting-Date: 13 Dec 1998 21:49:01 GMT
X-Mailer: Mozilla 4.04 [en] (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Johan Venter (aka sphinX) wrote:

>       int: 4 bytes
>    long: 4 bytes

On a PentiumII PC the following sizes are reported:

sizeof(unsigned char)          = 1
sizeof(short int)              = 2
sizeof(unsigned short int)     = 2
sizeof(unsigned int)           = 4
sizeof(unsigned long)          = 4
sizeof(long long int)          = 8
sizeof(unsigned long long int) = 8

greetings.

- Raw text -


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