DEV/BUT1/DEV1.1/Entiers/operations3.c
2024-02-01 13:55:03 +01:00

19 lines
370 B
C

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