DEV_BUT1/DEV1.1/TP06/debordement.c

11 lines
194 B
C

#include <stdio.h>
#include <stdlib.h>
int main(void){
int nb1;
printf("Donnez un chiffre entier : ");
scanf("%d", & nb1);
char val = (char) nb1;
printf("%c", val);
return EXIT_SUCCESS;
}