Data type is classification of a particular type of data like integer, float, character, boolean etc. It is mainly classified in two types primary and seconday data types as shown in figure.
Primary Data Types
Character type:
Integer type:
Float type
Double type
Void type
Secondary Data Types
Following data types are disccused in upcoming points.
Choosing proper data type
Data types like long integer, double, long double are slower in arithmetic operations as they occupy more memory, making the program larger. So you should use smallest variable data type that is suitable for your program.