• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <inttypes.h>
2 #include <stdio.h>
3 
another_func(char * msg)4 static void another_func(char *msg)
5 {
6    printf ("another func called msg %s\n", msg);
7 }
8 
main(int argc,char * argv[])9 int main (int argc, char *argv[])
10 {
11    printf("address of main %#" PRIxPTR "\n", (uintptr_t) main);
12    printf("address of another_func %#" PRIxPTR "\n", (uintptr_t) another_func);
13    another_func("called from main");
14    return 0;
15 }
16