1 | static void bar(char *boom) { |
---|---|
2 | char F = 'b'; |
3 | *boom = 47; // Frame bar |
4 | } |
5 | |
6 | static void foo(char *boom, void (*boomer)(char *)) { |
7 | char F = 'f'; |
8 | boomer(boom); // Frame foo |
9 | } |
10 | |
11 | void main(void) { |
12 | char F = 'm'; |
13 | foo(boom: 0, boomer: bar); // Frame main |
14 | } |
15 |