0
746views
List Date types used in C with their values.
1 Answer
written 6.0 years ago by | • modified 6.0 years ago |
Data Type | Size in bits | Data Range/ Usage |
---|---|---|
Unsigned Char | 8 | 0 to 255 |
Signed Char | 8 | -128 to +127 |
Unsigned int | 16 | 0 to 65536 |
Signed int | 16 | -32768 to +32767 |
float | 32 | +1.175494E-38 to 3.402823E+38 |
bit | 1 | 0 or 1 bit addressable RAM |
sbit | 1 | SFR bit addressable |
sfr | 8 | RAM addresses 80 to FF only |
sfr16 | 16 | 0 to 65536 ( 16 bit SFR only) |