projet_systeme/compiler/code_c
2021-05-14 16:32:46 +02:00

16 lines
No EOL
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;