C Data Types Flashcards
Memorize C data types and sizes
long double
Number of Bytes and Range
Bytes = 12
long int
Number of Bytes and Range
Bytes = 4
unsigned long long int
Number of Bytes and Range
Bytes = 8
unsigned long int
Number of Bytes and Range
Bytes = 4
int
Description, Number of Bytes and Range
Description : Used to store an integer
Bytes = 4
Range = -2,147,483,648 : 2,147,483,647
(+/- 2G)
short int
Number of Bytes and Range
Bytes = 2
Range = -32,768 : 32,767
(+/- 32K)
unsigned short int
Number of Bytes and Range
Bytes = 2
Range = 0 : 65,535
(64K)
signed char
Number of Bytes and Range
Bytes = 1 Range = -128 : 127
double
Description and
Number of Bytes
Stores decimal numbers (numbers with floating point value) with double precision
Bytes = 8
unsigned char
Number of Bytes and Range
Bytes = 1 Range = 0 : 255
long long int
Number of Bytes and Range
Bytes = 8
unsigned int
Number of Bytes and Range
Bytes = 4
Range = 0 : 4,294,967,295
(4G)
float
Description and Number of Bytes
Stores decimal numbers (numbers with floating point value) with single precision
Bytes = 4