Data Type In C Language
There are mainly three data type in C as following :
- Basic Data Type - int
- char
- float
- long
- double
- long double
 
- Derived Data Type - Array
- Pointer
- function
 
- User Define Data Type - structure
- union
- enumerated
- typedef
 
| Data Type | Memory Allocation | 
|---|---|
| int | 2 byte | 
| long | 4 byte | 
| float | 4 byte | 
| double | 8 byte | 
| long double | 10 byte | 
| char | 1 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.
 
No comments:
Post a Comment