Data types specify how we enter data into our programs and what type of data we enter. C language has some predefined set of data types to handle various kinds of data that we can use in our program. These data types have different storage capacities.
C language supports 2 different types of data types:
Primary data types:
These are fundamental data types in C namely integer(int), floating point(float), character(char) and void.
Primary(Built-in) Data Types:
int, char, double , float and void..
Derived data types:
Derived data types are nothing but primary data types but a little twisted or grouped together like array, pointer and References .