Type | Taille(octets) | Intervalle des valeurs |
unsigned char | [0,255] | |
char | 1 | [ -128, +127] |
signed char | 1 | [ -128, +127] |
enum | 1 | [-32768, +32767] |
unsigned int | 2 | [0,65535] |
short int | 2 | [-32768,+32767] |
int | 2 | [-32768,+32767] |
unsigned long | 2 | [0,4 294 967 295] |
long | 4 | [-2 147 483 648, +2 147 483 647 ] |
float | 4 | [3.4 * 10^-38, 3.4 * 10^38 ] |
double | 4 | [1.7 * 10^-308, 3.4 * 10^308] |
long double | 8 | [3.4 * 10^-4932 , 1.1 * 10^4932] |