#include <cstdio> int abc(); int main() { int (*f)() = &abc; printf("%p", f); return 0; }
Standard input is empty
/home/777wKz/cc3mR5T2.o: In function `main': prog.cpp:(.text.startup+0x12): undefined reference to `abc()' collect2: error: ld returned 1 exit status
Standard output is empty