fork download
  1. #include <iostream>
  2. using namespace std;
  3. void Function1();
  4. void Function1()
  5. {
  6. }
  7. int main()
  8. {
  9. int tmp;
  10. void (*a) ()=&Function1;
  11. cout<<(void*)(a)<<endl;
  12. cout<<&Function1<<endl;
  13. cout<<&main<<endl;
  14. return 0;
  15. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0x8048750
1
1