Data Type In C Programming Language




Data Type In C Language

There are mainly three data type in C as following :
  1. Basic Data Type
    • int
    • char
    • float
    • long
    • double
    • long double
  2. Derived Data Type
    • Array
    • Pointer
    • function
  3. User Define Data Type
    • structure
    • union
    • enumerated
    • typedef

Following table tell which data type how much allocate memory?

Data TypeMemory Allocation
int2 byte
long4 byte
float4 byte
double8 byte
long double10 byte
char1 byte

In data types we also learn about link list,file handling and more. So now we are entering in real c world i.e. C programming.


Keywords - C, C++, programming, C++ tutorials, C++ programming, C programming Tutorials, source code, programming quiz. C Programming Keywords,
Previous
Next Post »