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

MEMORY ALLOCATION FOR EACH:

Data Type Memory Allocation
int 2 byte
long 4 byte
float 4 byte
double 8 byte
long double 10 byte
char 1 byte

No comments:

Post a Comment

Let Us hear Your thoughts about this Post.. Its Our Pleasure to get your feedback..

Programs and Solutions