Data types in c refer to an extensive system used for declaring variables or functions of different types.

The type of a variable determines how much space it occupies in storage.

CLASSIFICATION OF DATA TYPES IN C

  1. Basic Types

They are arithmetic types and are further classified into: (a) integer types and (b) floating-point types.

2. Enumerated types

They are again arithmetic types and they are used to define variables that can only assign certain discrete integer values throughout the program.

3. The type void

The type specifier void indicates that no value is available.

4. Derived types

They include (a) Pointer types, (b) Array types, © Structure types, (d) Union types and (e) Function types.

BASIC TYPES

The following table provides the details of standard integer types with their storage sizes and value ranges

II. Floating-Point Types

The following table provide the details of standard floating-point types with storage sizes and value ranges and their precision