COHERENT manpages

This page displays the COHERENT manpage for int [Data type].

List of available manpages
Index


int -- C Keyword

Data type

An int is the most commonly used numeric data type, and is normally used to
encode integers.   Under COHERENT 386, an  int is the same  size as a long;
sizeof int equals 4 (31 bits  plus a sign bit), and can hold any value from
-2,147,483,647 to  2,147,483,647.  Under COHERENT  286, an int  is the same
size as  a short; that is,  sizeof int equals 2 (15 bits  plus a sign bit),
and can hold any value from from -32768 to +32767.

An  int normally  is sign  extended  when cast  to a  larger data  type; an
unsigned int, however, will be zero extended.

See Also

C keywords,
data formats,
data types,
long,
short
ANSI Standard, §6.1.2.5