Basic Data Types in C - C Reference
C examples for Reference:Language Reference
HOME
C
Reference
Language Reference
Introduction
Basic Data Type
Size in Bits
Range of Values
char
8
-128 to 127
int
16
-32,768 to 32,767
float
32
-3.4e-38 to -3.4e+38, 0, 3.4e-38 to 3.4e+38
double
64
-1.7e-307 to -1.7e+308, 0, 1.7e-307 to 1.7e+308
Previous
Next
Related Tutorials
Using memcpy() and memmove() to operate memory data
Check the memory address for static objects, automatic objects, and dynamically allocated objects
Qualified Basic Data Types in C
Escape Sequences in C
Number of Digits and Digits in the Various Number Systems