This commit is contained in:
Yorick Barbanneau 2023-04-17 18:00:20 +02:00
parent 7c934bcefb
commit 453d88282f
8 changed files with 588 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#include <stdio.h>
int f(int *x) {
return *x+1;
}
int g(int y) {
int z = y+1;
return f(&z);
}
int main(void) {
printf("%d\n", g(1));
return 0;
}