DEV_BUT1/DEV1.1/TP10/test.c

8 lines
173 B
C
Raw Normal View History

2022-10-18 14:50:36 +02:00
#include <stdio.h>
#include <stdlib.h>
int main(void) {
double n = 6.283186;
long long int* p = (long long int*) &n;
printf("π = %ld\n", *p);
return EXIT_SUCCESS;
}