#include <stdio.h>
void comeco_fim(void (*func1)(void), void (*func2)(void)) {
func1();
func2();
}
void funcao1() {
}
void funcao2() {
}
int main(void) {
comeco_fim(funcao1, funcao2);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGNvbWVjb19maW0odm9pZCAoKmZ1bmMxKSh2b2lkKSwgdm9pZCAoKmZ1bmMyKSh2b2lkKSkgewogICAgcHJpbnRmKCJjb21lw6dvIik7CiAgICBmdW5jMSgpOwogICAgcHJpbnRmKCJ0ZXh0byIpOwogICAgZnVuYzIoKTsKICAgIHByaW50ZigiZmltIik7Cn0KCnZvaWQgZnVuY2FvMSgpIHsKCXByaW50ZigiZnVuY2FvMSIpOwp9Cgp2b2lkIGZ1bmNhbzIoKSB7CglwcmludGYoImZ1bmNhbzIiKTsKfQppbnQgbWFpbih2b2lkKSB7Cgljb21lY29fZmltKGZ1bmNhbzEsIGZ1bmNhbzIpOwoJcmV0dXJuIDA7Cn0=