Developpement/23DEV1.1/TPS1/TP01/11-Adresses/Convert.c

9 lines
179 B
C
Raw Permalink Normal View History

2024-12-09 11:53:11 +01:00
#include <stdlib.h>
#include <stdio.h>
int main(void) {
long long int n = 4614256656552045848LL;
double* p = (double*) &n;
printf("π = %f\n", *p);
return EXIT_SUCCESS;
}