Please enable Javascript to correctly display the contents on Dot Net Tricks!

Data Type

Posted On : 13 Dec 2015
Updated On : 13 Dec 2015
Total Views : 731

A Data Type tells about the type of Data. Data Type is a Data Storage format that can contain a Specific Type or Range of Values. When computer programs store data in variables, each variable must be assigned a specific data type.

Data Type in C Language

  1. Primary data type (Predefined)

  2. User-defined data type (Derived)

Table of Data Types

Type
Size
Range
Integer
2 byte
(2^-1 5 to 2^+15)
Float
4 byte
(2^-31 to 2^+31)
Character
1 byte
(2^-7 to 2^+7)
Long
4 byte
(2^-31 to 2^+31)