This repository has been archived on 2019-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
s4-c/TP1/E1-1.c

11 lines
231 B
C

/* Programme qui lit et affiche les caractères */
#include <stdio.h>
int main() {
int C;
printf("Saisir un caractère suivi de 'Entrée'\n");
C = getchar();
printf("Le caractère %c a le code ASCII %d\n", C, C);
return 0;
}