[an error occurred while processing this directive]
|
INTEGER TYPES
The following table gives the size and range of each integer data type:
Data type Size Range Alignment
bool 8 bits 0 to 1 1
char 8 bits 0 to 255 1
signed char 8 bits -128 to 127 1
unsigned char 8 bits 0 to 255 1
signed short 16 bits -32768 to 32767 2
unsigned short 16 bits 0 to 65535 2
signed int 32 bits -231 to 231-1 4
unsigned int 32 bits 0 to 232-1 4
signed long 32 bits -231 to 231-1 4
unsigned long 32 bits 0 to 232-1 4
signed long long 64 bits -263 to 263-1 4
Table 28: Integer types