Data Types in C

There are four basic Data Types in C language. They are given below along with several bytes occupied by them in the computer memory (RAM). There are four basic Data Types in C are: char, int, float, double
data types

1. char : It refers to character. It can hold one letter/symbol. char in C language is associated with integers to refer a letter/symbol as per ASCII (American Standard Code for Information Interchange) which has assigned integer value for all letters/symbols used in programming.

2. int : It refers integer. It can hold a signed or unsigned the whole number within the specified range.

3. float : It refers floating point or real number. It can hold a real number like 3.142857 or 4.23e6 with decimal digits in decimal or exponential form. Float number using 6 decimal digits is called a single-precision number.

4. double : It also refers to floating-point or real number. It can hold a real number in double precision. A double-precision number uses 12 decimal digits like 3.142857142857 or 4.23145342148e12