lire string pointeurs code example
Example: pointeurs c
int v;
int *p;
v = 1;
printf("v = %d\n",v);// "V=1"
p = &v;
printf("p = %p\n", p);// 0xA8D532
printf("*p = %d\n", *p);// 1
*p = 10;
printf("v = %d, *p = %d\n", v, *p);// v = 10, *p = 10
int v;
int *p;
v = 1;
printf("v = %d\n",v);// "V=1"
p = &v;
printf("p = %p\n", p);// 0xA8D532
printf("*p = %d\n", *p);// 1
*p = 10;
printf("v = %d, *p = %d\n", v, *p);// v = 10, *p = 10