1
typedef int (*fn_t)(int); int cond_apply(int x, int flag, fn_t a, fn_t b){ return flag ? a(x) : b(x); }