All pastes #254903 Raw Edit

Mine

public text v1 · immutable
#254903 ·published 2006-11-22 13:39 UTC
rendered paste body
void teste(void) {
        printf("Hello World!\n");
}

struct teste {
        void (*func)();
} *p;


int main(void) {
        p = malloc(sizeof(struct teste));
        p->func = teste;
        p->func();
        free(p);
        return 0;
}