talk-2019-10-OOPSLA19/demo.old/demo.c

15 lines
157 B
C
Raw Normal View History

2019-10-15 13:07:26 +02:00
#include <stdio.h>
int bar(int x) {
printf("'Im %d; how many? %n\n", x, &x);
return x;
}
int foo() {
return bar(3);
}
int main() {
return foo();
}