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,18 @@
#include <stdio.h>
void f(int *x) {
(*x)++;
}
void g(int *y) {
return f(y);
}
int main(void) {
int b = 1;
int a = 2;
int c = 3;
g(&a);
printf("%d\n", a);
return 0;
}