pointeurs en c

Solutions on MaxInterview for pointeurs en c by the best coders in the world

showing results for - "pointeurs en c"
Max
02 Sep 2018
1int v;
2int *p;
3v = 1;
4printf("v = %d\n",v);// "V=1"
5p = &v;
6printf("p = %p\n", p);// 0xA8D532
7printf("*p = %d\n", *p);// 1
8*p = 10;
9printf("v = %d, *p = %d\n", v, *p);// v = 10, *p = 10
Jona
07 Jun 2017
1int age = 10;
2int *pointeurSurAge = &age;
3
4printf("%d", *pointeurSurAge);
5