Anyone who fights for the Future lives in it today. - Ayn Rand
#include <iostream>using std::cout;using std::endl;void fun (void) { cout<<"hello function"<<endl;}typedef void (*myfun)(void);int main() { myfun foo; foo = &fun; (*foo)(); cout<<"hello world"<<endl; return 0;}
Post a Comment
No comments:
Post a Comment