C language supports following types of data types:
- Primary Data Types
- void : It specify no values.
- char : A single character is store in ‘char’ datatype belonging to the defined character set of C language.
- int : It store a numeric value in it e.g: positive or negative integer.
- float : Float stores numeric fixed value as well as decimal value up to six points.
- double : It stores real numeric value with double precision.
- Composite Data Types
- Array : It is a Collection of homogeneous data.
- Pointer : It stores the address of any memory location.
- Structure : It collect the variables of different types.
- Union : It collect a different variables sharing common memory space.