list of data types in C C Data Types Data Types in C Learn C Basics of C Programing By Elvisjino
C Data types.
Int
Float
Double
Char
Void
Enum
int - data type
{
int Cot;
Cot = 5;
}
float - data type
float is used to define floating point numbers.
{
float Km;
Km= 5.6;
}
double - data type
double is used to define BIG floating point numbers. It reserves twice the storage for the number. On PCs this is likely to be 8 bytes.
{
double Atoms;
Atoms = 2500000;
}
char - data type
char defines characters.
{
char Letter;
Letter = 'x';
}


