Salve a tutti cosa significa: int (*g)(int);? allego anche il codice
#include <stdio.h>
int f1(int k);
int f2(int k);
int f=5;
int main(void)
{
int k=1;
int (*g)(int);
g=f2;
printf ("%d\n", g(f));
g=f1;
printf ("%d\n", g(3));
}
int f1 (int f)
{
return f+f;
}
int f2 (int f)
{
return f+1;
}