C Data Types and Sizes: No Data Type Full Form Range of Values
C Data Types and Sizes: No Data Type Full Form Range of Values
In a C program, the programmer has to tell the system before, the type of numbers or
characters he is using in his program. These specification of data is called data type.
C language data types can be classified in to 3 types as shown in figure
If we do not specify either signed or unsigned, most compiler will assume the type to
be signed. so signed int x; can be written as int x;
short and long can be used alone as type specifiers.
short=short int
long=long int
Short int x; can be wriiten as short x;
signed and unsigned can also be used alone as type specifiers.
signed int=signed
unsigned int=unsigned
unsigned int x; can be wriiten as unsigned x;
Source:
http://datastructuresprogramming.blogspot.in/2010/02/c-data-types-and-sizes.html