What is data type explain?
In C, data type refer to an extensive system used for declearing function or variable.
The veriable type determines how much space required/occupies in storage and how bit pattern stored is interpreted.
The data type can be classified as follows:
1. | Basic type (integer and floting-point) | |
2. | Enumerated type (Arithmetic type and used to define variable that can only assign certain discrete integer value throughout the program) | |
3. | Void type (void indicates that no value is available) | |
4. | Derived type (Pointer, Array, Structure, Union, and Function) |