Data types in C

Data types can be defined as the set of data types having different storage capacities. The various data types in C can handle data used in programs.

The Data Types in C can be classified into 4 types. They are the following:

1) Basic Data Type
2) Derived Data Type
3) Enumeration Data Type
4) Void Data Type


 


Let us discuss the data type, memory and its range. See the table below for easy learning:-

Data TypeMemory (Bytes)
Short int2
Unsigned short int2
Unsigned int4
Int4
Long int4
Unsigned long int4
Long long int8
Unsigned long long int8
Signed char1
Unsigned char1
Float4
Double8
Long double12

 


Coding Tag

Coding Tag always happy to serve you in Information Technology (IT). Learn HTML, CSS, Javascript, PHP, Android, Digital Marketing, Latest IT News and many more.

Leave a Reply

avatar
  Subscribe  
Notify of