DEV/DEV1.1/CM1/exo2.c

15 lines
247 B
C
Raw Permalink Normal View History

2024-10-22 15:14:54 +02:00
#include <stdio.h>
#include <stdlib.h>
int main(void) {
float a = 1;
unsigned int b = 11;
char c = 111;
short int d = 1111;
printf("%e\n", a);
printf("%7o\n", b);
printf("%c\n", c);
printf("%2hd\n", d);
return EXIT_SUCCESS;
}