Different Data Types in C Language
| Data Type | Format Specifiers | Size | Range |
|---|---|---|---|
| Signed char | %c | 1 Byte | -128 to 127 |
| Unsigned char | %c | 1 Byte | 0 to 255 |
| Int or Long Int or Signed or Long Int | %d | 4 Bytes | -2147483648 to 2147483647 |
| Unsigned Int or Unsigned Long Int | %u | 4 Bytes | 0 to 4 Gb |
| Short Int | %hd | 2 Bytes | -32768 to 32767 |
| Unsigned short Int | %hu | 2 Bytes | 0 to 65535 |
| Float | %f | 4 Bytes | 3.4E-38 to 3.4E+38 |
| Double | %lf | 8 Bytes | 1.7E-308 to 1.7E+308 |
| Long Double | %LF | 10 Bytes | 3.4E-4932 to 1.1E+4932 |