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