8.11.2014

What is Data Type In C

In the C Programming Language, Data Types refers to an extensive system for declaring variable of different types. 
A data types tells the following things about the related variable:

  • What is the size of the variable?
  • How much its occupies space in storage?
  • How the  variable bit mapped for its operation?
All data types used in C programming, generally defined in standard library header files. In header files, all the characteristic such as size, space etc. of data-types has been defined.

If you want, you can create your own custom data types in C.

There are mostly following Data Types in C as:
  1. char Data Type
  2. int Data Type
  3. long Data Type
  4. double Data Type
  5. float Data Type
  6. Long Double Data Type
  7. function Data Type
  8. pointer Data Type
  9. array Data Type
  10. enum Data Type
  11. struct Data Type
  12. typedef Data Type

You might also like:

  1. 16-bit V/S 32-bit compiler meaning In C
  2. Characters Data type - signed char V/S unsigned char
  3. integers Data types - 
    • singed int V/S unsigned int
    • long int V/S short int
  4. float V/S double data type
  5. long double data type 
  6. Comparison of all data types used in C

No comments:

Post a Comment