0
3.1kviews
List any six data types in Embedded C with their size in bits and data range. OR List Date types used in C with their values.
1 Answer
| written 6.9 years ago by | • modified 6.9 years ago |
| Data types | Size in bits | Data Range/usage |
|---|---|---|
| Unsigned char | 8 | 0 to 255 |
| Signed char | 8 | -128 to +127 |
| Unsigned int | 16 | 0 to 65535 |
| Signed int | 16 | -32768 to +32767 |
| Sbit | 1 | SFR bit addressable only |
| Bit | 1 | RAM bit addressable only |
| sfr | 8 | RAM addresses 80-FF H only |