Data types in C are specified or identified as the data storage format that tells the compiler or interpreter how the programmer enters the data and what type of data they enter into the program. Data types are used to define a variable before use in a program. Data types determine the size of the variable, space it occupies in storage.
Data types are divided into following three categories:
- Primitive Data Types
- Derived Data Types
- User Defined Data Types