fork download
  1. #include <iostream>
  2. int main()
  3. {
  4. int (a)();
  5. std::cout << " address of function a = " << (void *)a << std::endl;
  6. return 0;
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/iFu37e/ccei2RiV.o: In function `main':
prog.cpp:(.text+0x65): undefined reference to `a()'
collect2: ld returned 1 exit status
stdout
Standard output is empty