Basic Data type:
There are three type of data type in C++
1. Primary Data type:- Example: float, double, character, void, integer
2. Boolean and wide character.
3. Derived Data type:- Example: function, array, pointer, reference
4. User-defined data type:- Example: union, structure, class, enumerated