ASCII code
Code ASCII des Lettres de l'Alphabet Français
| Lettre | Code ASCII |
|---|---|
| A | 65 |
| B | 66 |
| C | 67 |
| D | 68 |
| E | 69 |
| F | 70 |
| G | 71 |
| H | 72 |
| I | 73 |
| J | 74 |
| K | 75 |
| L | 76 |
| M | 77 |
| N | 78 |
| O | 79 |
| P | 80 |
| Q | 81 |
| R | 82 |
| S | 83 |
| T | 84 |
| U | 85 |
| V | 86 |
| W | 87 |
| X | 88 |
| Y | 89 |
| Z | 90 |
2 answers
-
Hello,
There is no difference in C between a character to display and the ASCII code of that character.
We have achar
that contains information, and we decide to display thischar
either as a character or as a number.
unsigned char valeur = 'A'; printf("The character: %c\n" , valeur ); printf("The ASCII value: %u\n" , valeur );