Data Type

Data type refers to the kind of data. The data type in programming, refers to what kind of data a variable or a programming element can hold and how that data is stored. Data type is used for classification and differentiation of various types of data.

Data type definition
Data type is the data storage format that contains similar type of values or set of values.

Almost all programming languages have the concept of data type, though different languages may use different terminology for it. Common built-in data types may include:

  1. integers
  2. characters
  3. booleans
  4. floating-point etc.

Various categories of data types are:

  1. Buit-in data type
  2. User Defined data type
  3. Derived data types