Fin du tp

This commit is contained in:
Simoes Lukas
2024-10-22 15:38:09 +02:00
parent 841c8eeab1
commit 161df92584
11 changed files with 202 additions and 0 deletions

15
DEV1.1/CM1/exo2.c Normal file
View File

@@ -0,0 +1,15 @@
# include <stdio.h>
# include <stdlib.h>
int main(void) {
short int a = 7;
char b = 77;
double c = 777;
long int d = 7777;
printf("%03hd\n", a);
printf("%c\n", b);
printf("%.0f\n", c);
printf("%lx\n", d);
return EXIT_SUCCESS;
}