DEV/BUT1/CONTROLE/DEV1.1/CM1/exo2.c

9 lines
287 B
C

#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf("%d\n", 58);
printf("%o\n", 47); /* IMPOSSIBLE A AFFICHER CAR LE 8 n'existe pas en base octal ... comme le 2 n'existe pas en base décimal donc 47 pour 57 à la limite*/
printf("%x\n", 0x58);
return EXIT_SUCCESS;
}