What is variable?
- A name given to a memory location
- Declared by writing type variable_name;
- initialized and declared by type variable_name=value;
Data type in C language
Basic data type=int, char, double, float
Derived data type=array, pointer, structure, union
Enumeration dara type=emum
Void data type=void
1 byte=8 bits
4GB RAM= 4*1024*MB=4*1024*1024 KB=4*1024*1024 *1024byte=(4*1024*1024 *1024)*4bits
Comments
Post a Comment