sync: 2026-09-25 12:09
This commit is contained in:
1 parent
3fe519fe39
commit
37c38982a5
1 file changed
+13
-13
+13
-13
@@ -474,19 +474,19 @@ int main(void) {
|
||||
|
||||
### Les types primitifs
|
||||
|
||||
| Nom | Taille | Format | Constantes ? |
|
||||
| -------------------- | ------ | --------------------------------------- | ------------ |
|
||||
| char | 8 | %c (character) | 'A' |
|
||||
| signed char | 8 | %hhd (sHort sHort Digit) | 'A' |
|
||||
| unsigned char | 8 | %hhu (sHort sHort Unsigned), %hho, %hhd | 'A' |
|
||||
| short (int) | 16 | %hd | |
|
||||
| unsigned short (int) | 16 | %hu, %ho, %hx | |
|
||||
| int | 32 | %d | -34 |
|
||||
| unsigned (int) | 32 | %u, %o, %x, %i | 12U |
|
||||
| long (int) | 64 | %ld | -34L |
|
||||
| unsigned long (int) | 64 | %lu, %lo, %lx | 12UL |
|
||||
| | | | |
|
||||
| | | | |
|
||||
| Nom | Taille | Format | Constantes ? |
|
||||
| -------------------- | ------ | --------------------------------------- | --------------- |
|
||||
| char | 8 | %c (character) | 'A' |
|
||||
| signed char | 8 | %hhd (sHort sHort Digit) | 'A' |
|
||||
| unsigned char | 8 | %hhu (sHort sHort Unsigned), %hho, %hhd | 'A' |
|
||||
| short (int) | 16 | %hd | |
|
||||
| unsigned short (int) | 16 | %hu, %ho, %hx | |
|
||||
| int | 32 | %d | -34 |
|
||||
| unsigned (int) | 32 | %u, %o, %x, %i | 12U |
|
||||
| long (int) | 64 | %ld | -34L |
|
||||
| unsigned long (int) | 64 | %lu, %lo, %lx | 12UL |
|
||||
| Float | 32 | %f, %e, %g | -1.7e3F, -12.0f |
|
||||
| double | 64 | %lf | |
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user