class A {public: static void func(int n) { printf("finc called\n"); } static void (*pf)(int); A() {pf = func;}};void (*A::pf)(int) = A::func;int main(int argc, char* argv[]){ A::pf(255); return 0;}