#include <iostream>
using namespace std;
int foo(int lhs, int rhs) { return lhs + rhs; }
int main() {
int (*func)(int a, int b) = &foo;
cout << func(13, 42) << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IGZvbyhpbnQgbGhzLCBpbnQgcmhzKSB7IHJldHVybiBsaHMgKyByaHM7IH0KCmludCBtYWluKCkgewoJaW50ICgqZnVuYykoaW50IGEsIGludCBiKSA9ICZmb287CgkKCWNvdXQgPDwgZnVuYygxMywgNDIpIDw8IGVuZGw7Cn0=