DEV/DEV1.1/TP08:Adresses/cartographie.c

16 lines
326 B
C
Raw Permalink Normal View History

2022-11-08 11:29:38 +01:00
#include <stdio.h>
#include <stdlib.h>
int main() {
float f=2451.927;
double d=15629.2818;
long double ld=12586818.125155;
char c='&';
short int si=3;
int i=-56517;
long long unsigned int llui=82167258;
printf("Voici les adresses des variables:\n%p\n%p\n%p\n%p\n%p\n%p\n%p\n",&ld,&llui,&d,&i,&f,&si,&c);
return 0;
}