/* pimer58.c - pokazivac na funkciju */ #include int f(int); int (*p)(int); int (*q)(int); main() { int i; p = &f; q = f; for( i = 0; i < 10; i++ ) printf("%d %d %d %d %d\n", f(i), q(i), (*q)(i), (*p)(i), p(i) ); } int f(int i) { return 2*i; }