C variable categories



Variable Can be categorized depending on Type of Data it stores inside –

  1. Variable Storing Integer Data Type is called as “Integer Variable“.
  2. Variable Storing Character Data Type is called as “Character Variable“.
  3. Variable Storing Float Data Type is called as “Float Variable“.
  4. Variable Storing Double Data Type is called as “Double Variable“.

Variables Can Be Classified Depending On Data Type

Variables can be categorized depending on Number of Variables it can store –

  1. Variable storing single value at a time of any data type is called as “Normal or Ordinary” Variable.
  2. Variable Storing multiple values of same data type is called as  “Array“.
  3. Variable Storing multiple values of different data type is called as “Structure” [ User defined data type]

Variables can be categorized depending on Number of Variables it can store