#include <iostream> bool same(int a, int b){ return a == b; } int main() { bool (*fp)(int, int) = &same; // (*)(&) << 생략가능 bool res = fp(2,2); }