6_6_09_func_addr_array_static.c (203B)
1 static int add1(int x) { return x + 1; } 2 static int dbl(int x) { return x * 2; } 3 typedef int (*FN)(int); 4 static const FN ops[2] = {add1, dbl}; 5 int test_main(void) { return ops[0](20) + ops[1](10) + 1; }