No subject

Fred Tydeman uunet!ibminet.awdpa.ibm.com!ibmpa!tydeman
Fri Dec 20 06:27:23 PST 1991


Subject: Size of objects on AS/400
 
char         1 byte
short        2 bytes
int          4 bytes
long int     4 bytes
float        4 bytes
double       8 bytes
long double  8 bytes
wchar_t      2 bytes
enum         1, 2, or 4 bytes
 
pointer to anything:   16 bytes
 
Notice that a pointer is much bigger than everything else.
 
Fred Tydeman, IBM, Austin, Texas (512) 838-3322; fax (512) 838-3484
Internet: tydemanaibmpa.awdpa.ibm.com    uucp: uunet!ibmsupt!tydeman



More information about the Numeric-interest mailing list