DEV_BUT1/DEV1.1/TP10/test.c

8 lines
173 B
C

#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;
}