Data types in C

by Yogesh Khanna 15-Aug-18

0 1058


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 TypesMemory (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

Share:


Comments

    Waiting for your comments

Leave a Reply