talk-2018-11-uppsala/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();
}