16 lines
206 B
Text
16 lines
206 B
Text
|
int fonction1(int * a){
|
||
|
int b = *a;
|
||
|
printf(b);
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
int main(){
|
||
|
int l = 21;
|
||
|
int * p = &l;
|
||
|
int c = fonction1(p);
|
||
|
printf(c);
|
||
|
p = &c;
|
||
|
*p = 2;
|
||
|
printf(c);
|
||
|
|
||
|
return 0;
|