In the C programming language, data types
refers to an extensive system for declaring variables of different
types. The language itself provides basic arithmetic types and syntax to
build array and compound types. Several headers in the standard library contain definitions of support types, that have additional properties, such as exact size, guaranteed.
The C language provides many basic types. Most of them are formed from one of the four basic arithmetic type specifiers in C (
The C language provides many basic types. Most of them are formed from one of the four basic arithmetic type specifiers in C (
char
, int
, float
and double
), and optional specifiers (signed
, unsigned
, short
, long
). All available basic arithmetic types are listed below: