AJout des fichiers des sances precedentes

This commit is contained in:
2022-09-12 15:51:58 +02:00
parent 6f2df16f65
commit 2bef7749e5
10 changed files with 1947 additions and 0 deletions

17
DEV1.1/TP02/décalage Normal file
View File

@@ -0,0 +1,17 @@
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int n = 12;
printf("%d", (n>>7)&1);
printf("%d", (n>>6)&1);
printf("%d", (n>>5)&1);
printf("%d", (n>>4)&1);
printf("%d", (n>>3)&1);
printf("%d", (n>>2)&1);
printf("%d", (n>>1)&1);
printf("%d", n&1);
printf("\n");
return EXIT_SUCCESS;
}