18 lines
177 B
C
18 lines
177 B
C
#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;
|
|
}
|