Data
Values of various types (1 , -2 , 3.14 , 'A' , '1' , "abc" )
The C language supports:
- atomic data:
int , unsigned int , long , char , float , double
- arrays: indexed sequences of values of one type
- structs: collections of named heterogeneous values
For program manipulation, values are stored in memory
- different kinds of values have different sizes (
sizeof() )
- all values are ultimately represented as a sequence of bytes
|