MIPI_AdvancedC_FRTK/Lect1/24_page_40.2.c

15 lines
165 B
C
Raw Permalink Normal View History

2024-11-14 08:45:50 +03:00
#include <stdio.h>
int func(int n)
{
printf("Hello func %d\n",n);
return n+1;
}
int main()
{
int (*fp)(int);
fp = func;
fp(5);
return 0;
}