• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdio.h>
2 
another_func(char * msg)3 static void another_func(char *msg)
4 {
5    printf ("another func called msg %s\n", msg);
6 }
7 
main(int argc,char * argv[])8 int 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 }
15