Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
C Data Types
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Type Name Other Names Range of Values
char signed char -128 to 127
int signed, signed int -32,768 to 32,767
short short int, signed short, -32,768 to 32,767
signed short int
long long int, signed long, -2,147,483,648 to
signed long int 2,147,483,647
unsigned char none 0 to 255
unsigned unsigned int 0 to 65,535
unsigned short unsigned short int 0 to 65,535
unsigned long unsigned long int 0 to 4,294,967,295
enum none -32,768 to 32,767
float none 3.4E ± 38 (7 digits)
double none 1.7E ± 308 (15 digits)
long double none 1.2E ± 4932 (19 digits)
-♦-