blob: e452b307571c925d34f92aec17a3737b9bdefb0c [file] [log] [blame]
sewardj2a312392011-06-26 09:26:48 +00001#include <stdio.h>
2
3static void another_func(char *msg)
4{
5 printf ("another func called msg %s\n", msg);
6}
7
8int main (int argc, char *argv[])
9{
10 printf("address of main %p\n", &main);
11 printf("address of another_func %p\n", &another_func);
12 another_func("called from main");
13 return 0;
14}