#include<iostream>using namespace std;int abc(); int main(){int (*foo[10])();*(foo+1)=&abc;foo[1]();return 0;}int abc(){cout<<"test"<<endl;return 0;}
Standard input is empty
test
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!