char | 1 byte | -128 to 127 |
unsigned char | 1 byte | 0 to 255 |
int | 2 bytes | -32,768 to 32,767 |
unsigned int | 2 bytes | 0 to 65,535 |
long or (long int) | 4 bytes | -2,147,483,648 to 2,147,483,647 |
unsigned long | 4 bytes | 0 to 4,294,967,295 |
float | 4 bytes | 3.4 x 10^-38 to 3.4 x 10^38 |
double | 8 bytes | 1.7 x 10^-308 to 1.7 x 10^308 |
long double | 10 bytes | 3.4 x 10^-4932 to 3.4 x 10^4932 |