#include struct obj{ void (*f)(); }; void p(){printf("labas");} int main(){ struct obj obj; obj.f = p; obj.f(); }