DEV/DEV1.1/TP04/debordement.c

15 lines
177 B
C

#include <stdio.h>
#include <stdlib.h>
int main(void){
int y=0;
printf("saisir un entier: ");
scanf("%d",&y);
char x=(char) y;
printf("%c",y);
return EXIT_SUCCESS;
}